Details
Details
- Reviewers
fhahn - Commits
- rG2cf632a3f39a: [ConstraintElimination] UB reproducer for D145677
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
It does NOT reproduce without bb01b9919fdd3d5f1b5d78dcb2aa502588618369 :(
However it should trigger UBSAN report on earlier stage of https://lab.llvm.org/buildbot/#/builders/238/builds/1810
Comment Actions
Because it's UB we cannot assume that it will compile into a different, incorrect, executable :)
Comment Actions
LGTM, thanks!
llvm/test/Transforms/ConstraintElimination/shl.ll | ||
---|---|---|
1279 | Maybe just name this shl_55 or something, as this shouldn't overflow. Also might be good to replace 0 with 1 here, as uge 0 is trivially true. |
Maybe just name this shl_55 or something, as this shouldn't overflow. Also might be good to replace 0 with 1 here, as uge 0 is trivially true.