mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-31 07:52:55 +01:00
7e501cf4c3
This update was done with the following bash script: find test/CodeGen -name "*.ll" | \ while read NAME; do echo "$NAME" if ! grep -q "^; *RUN: *llc.*debug" $NAME; then TEMP=`mktemp -t temp` cp $NAME $TEMP sed -n "s/^define [^@]*@\([A-Za-z0-9_]*\)(.*$/\1/p" < $NAME | \ while read FUNC; do sed -i '' "s/;\(.*\)\([A-Za-z0-9_-]*\):\( *\)$FUNC: *\$/;\1\2-LABEL:\3$FUNC:/g" $TEMP done sed -i '' "s/;\(.*\)-LABEL-LABEL:/;\1-LABEL:/" $TEMP sed -i '' "s/;\(.*\)-NEXT-LABEL:/;\1-NEXT:/" $TEMP sed -i '' "s/;\(.*\)-NOT-LABEL:/;\1-NOT:/" $TEMP sed -i '' "s/;\(.*\)-DAG-LABEL:/;\1-DAG:/" $TEMP mv $TEMP $NAME fi done llvm-svn: 186280
30 lines
974 B
LLVM
30 lines
974 B
LLVM
; RUN: llc -march=mipsel < %s | FileCheck %s
|
|
|
|
|
|
define void @tnaked() #0 {
|
|
entry:
|
|
ret void
|
|
}
|
|
|
|
; CHECK: .ent tnaked
|
|
; CHECK-LABEL: tnaked:
|
|
; CHECK-NOT: .frame {{.*}}
|
|
; CHECK-NOT: .mask {{.*}}
|
|
; CHECK-NOT: .fmask {{.*}}
|
|
; CHECK-NOT: addiu $sp, $sp, -8
|
|
|
|
define void @tnonaked() #1 {
|
|
entry:
|
|
ret void
|
|
}
|
|
|
|
; CHECK: .ent tnonaked
|
|
; CHECK-LABEL: tnonaked:
|
|
; CHECK: .frame $fp,8,$ra
|
|
; CHECK: .mask 0x40000000,-4
|
|
; CHECK: .fmask 0x00000000,0
|
|
; CHECK: addiu $sp, $sp, -8
|
|
|
|
attributes #0 = { naked noinline nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf"="true" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" }
|
|
attributes #1 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf"="true" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" }
|