You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
318 B
14 lines
318 B
4 months ago
|
; RUN: llc -mtriple=riscv32 -verify-machineinstrs < %s \
|
||
|
; RUN: | FileCheck %s -check-prefix=RV32I
|
||
|
; RUN: llc -mtriple=riscv32 -mattr=+c -verify-machineinstrs < %s \
|
||
|
; RUN: | FileCheck %s -check-prefix=RV32C
|
||
|
|
||
|
define void @foo() {
|
||
|
;RV32I: .p2align 2
|
||
|
;RV32I: foo:
|
||
|
;RV32C: .p2align 1
|
||
|
;RV32C: foo:
|
||
|
entry:
|
||
|
ret void
|
||
|
}
|