File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 66
77declare void @uses_ext_ty (target ("sometarget.sometype" ))
88
9+ ; TODO: Should support reduce to poison
910; CHECK-LABEL: @foo(
10- ; ZERO: call void @uses_ext_ty(target("sometarget.sometype") poison )
11+ ; ZERO: call void @uses_ext_ty(target("sometarget.sometype") %arg )
1112; ONE: call void @uses_ext_ty(target("sometarget.sometype") %arg)
1213define void @foo (target ("sometarget.sometype" ) %arg ) {
1314 call void @uses_ext_ty (target ("sometarget.sometype" ) %arg )
Original file line number Diff line number Diff line change @@ -140,7 +140,9 @@ void llvm::reduceOperandsZeroDeltaPass(TestRunner &Test) {
140140 return nullptr ;
141141 if (TET->hasProperty (TargetExtType::HasZeroInit))
142142 return ConstantTargetNone::get (TET);
143- return PoisonValue::get (TET);
143+
144+ // TODO: Poison reduction for this case
145+ return nullptr ;
144146 }
145147
146148 // Don't replace existing zeroes.
You can’t perform that action at this time.
0 commit comments