mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 14:35:54 +00:00
1789f18d3a
I don't know anything about debug info, but this seems like more work should be necessary. This constructs a new IRBuilder and reconstructs the original divides rather than moving the original. One problem this has is if a div/rem pair are handled, both end up with the same debugloc. I'm not sure how to fix this, since this uses a cache when it sees the same input operands again, which will have the first instance's location attached. |
||
---|---|---|
.. | ||
AArch64 | ||
AMDGPU | ||
ARM | ||
Mips | ||
NVPTX | ||
PowerPC | ||
SPARC | ||
X86 | ||
dom-tree.ll | ||
sink-shift-and-trunc.ll | ||
skip-merging-case-block.ll |