diff options
author | Sanjay Patel <spatel@rotateright.com> | 2018-05-16 21:57:19 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2018-05-16 21:57:19 +0000 |
commit | 6dcda28ddced582a9d978afaa09b3a1a56ebec41 (patch) | |
tree | eb06b742433a639c944ab7bab4b43ef7101ec878 | |
parent | 82eca5595305f8197b9f434ae56337e5d5656d64 (diff) | |
download | bcm5719-llvm-6dcda28ddced582a9d978afaa09b3a1a56ebec41.tar.gz bcm5719-llvm-6dcda28ddced582a9d978afaa09b3a1a56ebec41.zip |
[ARM] preserve test intent by removing undef
We need to clean up the DAG floating-point undef logic.
This process is similar to how we handled integer undef
logic in D43141.
And as we did there, I'm trying to reduce the patch by
changing tests that would probably become meaningless
once we correct FP undef folding.
llvm-svn: 332533
-rw-r--r-- | llvm/test/CodeGen/ARM/debug-info-qreg.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/debug-info-qreg.ll b/llvm/test/CodeGen/ARM/debug-info-qreg.ll index 7ea2646ed3b..fa4d79c604a 100644 --- a/llvm/test/CodeGen/ARM/debug-info-qreg.ll +++ b/llvm/test/CodeGen/ARM/debug-info-qreg.ll @@ -17,12 +17,12 @@ target triple = "thumbv7-apple-macosx10.6.7" declare <4 x float> @test0001(float) nounwind readnone ssp -define i32 @main(i32 %argc, i8** nocapture %argv) nounwind ssp !dbg !10 { +define i32 @main(i32 %argc, i8** nocapture %argv, <4 x float> %x) nounwind ssp !dbg !10 { entry: br label %for.body9 for.body9: ; preds = %for.body9, %entry - %add19 = fadd <4 x float> undef, <float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 1.000000e+00>, !dbg !39 + %add19 = fadd <4 x float> %x, <float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 1.000000e+00>, !dbg !39 br i1 undef, label %for.end54, label %for.body9, !dbg !44 for.end54: ; preds = %for.body9 |