Commit 9e22c7a
committed
[DAG] canCreateUndefOrPoison - only compute shift amount knownbits when not poison
Since llvm#93182 we can now call computeKnownBits inside getValidMaximumShiftAmount to determine the bounds of the shift amount ensuring that it wasn't poison, meaning if we did freeze the ahift amount, isGuaranteedNotToBeUndefOrPoison would then fail as we can't call computeKnownBits through FREEZE for potentially poison values.
I'm still reducing a decent test case but wanted to get the buildbot fix ASAP.1 parent 2a1ea15 commit 9e22c7a
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5283 | 5283 | | |
5284 | 5284 | | |
5285 | 5285 | | |
5286 | | - | |
5287 | | - | |
| 5286 | + | |
| 5287 | + | |
| 5288 | + | |
| 5289 | + | |
| 5290 | + | |
5288 | 5291 | | |
5289 | 5292 | | |
5290 | 5293 | | |
| |||
0 commit comments