Commit 8854dd0
authored
[IR] Specify alloca with poison element count (llvm#183072)
An alloca with a poison element count is undefined behavior.
This matches existing behavior of optimizations. This also matches the
behavior of llubui for `poison`, but llubi currently does not report
immediate UB for `undef` element counts. A future patch will fix that.1 parent 7a83886 commit 8854dd0
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11613 | 11613 | | |
11614 | 11614 | | |
11615 | 11615 | | |
| 11616 | + | |
| 11617 | + | |
| 11618 | + | |
11616 | 11619 | | |
11617 | 11620 | | |
11618 | 11621 | | |
| |||
0 commit comments