Turn the assert in PrepareConstants into a conditon so that we can handle mul instructions with negative immediates.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Looks like a straightforward fix/addition to me.
test/CodeGen/ARM/CGP/arm-cgp-icmps.ll | ||
---|---|---|
324 ↗ | (On Diff #172555) | nit: to test a mul with a negative number, we can probably have a more minimal example (we don't need a store, load, trunc, and). |