brintos

brintos / llvm-project-archived public Read only

0
0
Text · 498 B · dd0bd58 Raw
17 lines · plain
1; This test checks if the '.set [no]micromips' directives2; are emitted before a function's entry label.3 4; RUN: llc -mtriple mipsel-unknown-linux -mcpu=mips32r2 -mattr=+micromips %s -o - | \5; RUN:   FileCheck %s -check-prefix=CHECK-MM6; RUN: llc -mtriple mipsel-unknown-linux -mcpu=mips32r2 -mattr=-micromips %s -o - | \7; RUN:   FileCheck %s -check-prefix=CHECK-NO-MM8 9define i32 @main() nounwind {10entry:11  ret i32 012}13 14; CHECK-MM: .set micromips15; CHECK-NO-MM: .set nomicromips16; CHECK: main:17