brintos

brintos / llvm-project-archived public Read only

0
0
Text · 772 B · 49eb36f Raw
28 lines · plain
1; RUN: llc -mtriple=mipsel-linux-gnu -mcpu=mips32 -mattr=+mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=static2 3@x = global i32 28912, align 44@y = common global i32 0, align 45 6 7; Function Attrs: nounwind8define i32 @main() #0 {9entry:10  %retval = alloca i32, align 411  store i32 0, ptr %retval12  %0 = load i32, ptr @x, align 413  %1 = call i32 @llvm.ctlz.i32(i32 %0, i1 true)14  store i32 %1, ptr @y, align 415  ret i32 016}17 18; static: .end main19 20; Function Attrs: nounwind readnone21declare i32 @llvm.ctlz.i32(i32, i1) #122 23 24 25attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "use-soft-float"="true" }26attributes #1 = { nounwind readnone }27 28