[PATCH] D67591: [ARM] A predicate cast of a predicate cast is a predicate cast

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 15 06:36:11 PDT 2019


dmgreen created this revision.
dmgreen added reviewers: t.p.northover, simon_tatham, SjoerdMeijer, samparker, ostannard.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: LLVM.

The adds some very basic folding of PREDICATE_CASTS, removing cases when they are chained together. These would already be removed eventually, as these are lowered to copies. This just allows it to happen earlier, which can help during lowering.


https://reviews.llvm.org/D67591

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/test/CodeGen/Thumb2/mve-masked-ldst.ll
  llvm/test/CodeGen/Thumb2/mve-pred-bitcast.ll
  llvm/test/CodeGen/Thumb2/mve-pred-loadstore.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67591.220246.patch
Type: text/x-patch
Size: 25043 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190915/42355a84/attachment.bin>


More information about the llvm-commits mailing list