mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Precommit an FNeg InstructionSimplify test.
llvm-svn: 359990
This commit is contained in:
parent
32679e4775
commit
f4f6501889
@ -17,6 +17,17 @@ define float @fneg_undef() {
|
||||
ret float %r
|
||||
}
|
||||
|
||||
define float @fneg_fneg_var(float %a) {
|
||||
; CHECK-LABEL: @fneg_fneg_var(
|
||||
; CHECK-NEXT: [[R:%.*]] = fneg float [[A:%.*]]
|
||||
; CHECK-NEXT: [[R1:%.*]] = fneg float [[R]]
|
||||
; CHECK-NEXT: ret float [[R1]]
|
||||
;
|
||||
%r = fneg float %a
|
||||
%r1 = fneg float %r
|
||||
ret float %r1
|
||||
}
|
||||
|
||||
define <4 x float> @fneg_constant_elts_v4f32() {
|
||||
; CHECK-LABEL: @fneg_constant_elts_v4f32(
|
||||
; CHECK-NEXT: ret <4 x float> <float 0.000000e+00, float -0.000000e+00, float 1.000000e+00, float -1.000000e+00>
|
||||
|
Loading…
Reference in New Issue
Block a user