diff options
author | Diana Picus <diana.picus@linaro.org> | 2017-06-19 09:40:51 +0000 |
---|---|---|
committer | Diana Picus <diana.picus@linaro.org> | 2017-06-19 09:40:51 +0000 |
commit | 621894ac76c2ebfaf9c6a601c21550bdf3dc50d6 (patch) | |
tree | c4b688c248ac26913f459ce6b18bb959a1e27a59 /llvm/lib/CodeGen/MacroFusion.cpp | |
parent | f4a09e55a6865ce812d2a24c500d88c340fd4897 (diff) | |
download | llvm-621894ac76c2ebfaf9c6a601c21550bdf3dc50d6.zip llvm-621894ac76c2ebfaf9c6a601c21550bdf3dc50d6.tar.gz llvm-621894ac76c2ebfaf9c6a601c21550bdf3dc50d6.tar.bz2 |
[ARM] GlobalISel: Support G_ICMP for i32 and pointers
Add support throughout the pipeline:
- mark as legal for s32 and pointers
- map to GPRs
- lower to a sequence of instructions, which moves 0 or 1 into the
result register based on the flags set by a CMPrr
We have copied from FastISel a helper function which maps CmpInst
predicates into ARMCC codes. Ideally, we should be able to move it
somewhere that both FastISel and GlobalISel can use.
llvm-svn: 305672
Diffstat (limited to 'llvm/lib/CodeGen/MacroFusion.cpp')
0 files changed, 0 insertions, 0 deletions