Commit 72fd10a
committed
[X86] getTargetConstantBitsFromNode - don't support partial undefs by default.
Noticed by inspection - as undef bits are seen as zero, we could be matching in places where we require a zero but end up referencing an undef that could then get changed in a later fold.
Creating a test case has proven difficult as multi-use limits usually saves us, but really we shouldn't be allowing partial undefs for anything but constant folding.1 parent 915c3d9 commit 72fd10a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4596 | 4596 | | |
4597 | 4597 | | |
4598 | 4598 | | |
4599 | | - | |
| 4599 | + | |
4600 | 4600 | | |
4601 | 4601 | | |
4602 | 4602 | | |
| |||
0 commit comments