[llvm] r324814 - [ARM] preserve test intent by removing undef
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 10 07:14:00 PST 2018
Author: spatel
Date: Sat Feb 10 07:14:00 2018
New Revision: 324814
URL: http://llvm.org/viewvc/llvm-project?rev=324814&view=rev
Log:
[ARM] preserve test intent by removing undef
D43141 proposes to correct undef folding in the DAG,
and this test would not survive that change.
Modified:
llvm/trunk/test/CodeGen/ARM/2013-07-29-vector-or-combine.ll
Modified: llvm/trunk/test/CodeGen/ARM/2013-07-29-vector-or-combine.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/2013-07-29-vector-or-combine.ll?rev=324814&r1=324813&r2=324814&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/2013-07-29-vector-or-combine.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/2013-07-29-vector-or-combine.ll Sat Feb 10 07:14:00 2018
@@ -21,7 +21,7 @@ vector.body:
%0 = and <4 x i32> %wide.load, <i32 -16711936, i32 -16711936, i32 -16711936, i32 -16711936>
%1 = sub <4 x i32> %wide.load, zeroinitializer
%2 = and <4 x i32> %1, <i32 16711680, i32 16711680, i32 16711680, i32 16711680>
- %3 = or <4 x i32> undef, %0
+ %3 = or <4 x i32> %0, <i32 1, i32 2, i32 3, i32 4>
%4 = or <4 x i32> %3, %2
store <4 x i32> %4, <4 x i32>* undef, align 4
br label %vector.body
More information about the llvm-commits
mailing list