mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
18451cc4a4
The motivation is that the update script has at least two deviations (`<...>@GOT`/`<...>@PLT`/ and not hiding pointer arithmetics) from what pretty much all the checklines were generated with, and most of the tests are still not updated, so each time one of the non-up-to-date tests is updated to see the effect of the code change, there is a lot of noise. Instead of having to deal with that each time, let's just deal with everything at once. This has been done via: ``` cd llvm-project/llvm/test/CodeGen/X86 grep -rl "; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py" | xargs -L1 <...>/llvm-project/llvm/utils/update_llc_test_checks.py --llc-binary <...>/llvm-project/build/bin/llc ``` Not all tests were regenerated, however.
24 lines
769 B
LLVM
24 lines
769 B
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 | FileCheck %s
|
|
define i32 @t() nounwind {
|
|
; CHECK-LABEL: t:
|
|
; CHECK: # %bb.0: # %entry
|
|
; CHECK-NEXT: pushl %ebp
|
|
; CHECK-NEXT: movl %esp, %ebp
|
|
; CHECK-NEXT: andl $-16, %esp
|
|
; CHECK-NEXT: subl $48, %esp
|
|
; CHECK-NEXT: movaps {{.*#+}} xmm0 = [10,11,12,13]
|
|
; CHECK-NEXT: movaps %xmm0, {{[0-9]+}}(%esp)
|
|
; CHECK-NEXT: movl $1, (%esp)
|
|
; CHECK-NEXT: calll foo@PLT
|
|
; CHECK-NEXT: xorl %eax, %eax
|
|
; CHECK-NEXT: movl %ebp, %esp
|
|
; CHECK-NEXT: popl %ebp
|
|
; CHECK-NEXT: retl
|
|
entry:
|
|
tail call void (i32, ...) @foo( i32 1, <4 x i32> < i32 10, i32 11, i32 12, i32 13 > ) nounwind
|
|
ret i32 0
|
|
}
|
|
|
|
declare void @foo(i32, ...)
|