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 6
6
7
7
declare void @uses_ext_ty (target ("sometarget.sometype" ))
8
8
9
+ ; TODO: Should support reduce to poison
9
10
; 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 )
11
12
; ONE: call void @uses_ext_ty(target("sometarget.sometype") %arg)
12
13
define void @foo (target ("sometarget.sometype" ) %arg ) {
13
14
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) {
140
140
return nullptr ;
141
141
if (TET->hasProperty (TargetExtType::HasZeroInit))
142
142
return ConstantTargetNone::get (TET);
143
- return PoisonValue::get (TET);
143
+
144
+ // TODO: Poison reduction for this case
145
+ return nullptr ;
144
146
}
145
147
146
148
// Don't replace existing zeroes.
You can’t perform that action at this time.
0 commit comments