• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mtriple=riscv32 -verify-machineinstrs < %s \
2; RUN:   | FileCheck %s -check-prefix=RV32I
3; RUN: llc -mtriple=riscv32 -mattr=+c -verify-machineinstrs < %s \
4; RUN:   | FileCheck %s -check-prefix=RV32C
5
6define void @foo() {
7;RV32I: .p2align 2
8;RV32I: foo:
9;RV32C: .p2align 1
10;RV32C: foo:
11entry:
12  ret void
13}
14