[PATCH] D107476: [ARM] Define ComplexPatternFuncMutatesDAG

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 4 09:27:01 PDT 2021


dmgreen created this revision.
dmgreen added reviewers: SjoerdMeijer, samtebbs, NickGuy, efriedma, simon_tatham, ostannard.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
dmgreen requested review of this revision.
Herald added a project: LLVM.

Some of the Arm complex pattern functions call canExtractShiftFromMul, which can modify the DAG in-place. For this to be valid and handled successfully we need to define  ComplexPatternFuncMutatesDAG.

The test case is a little big, but I didn't have a lot of luck reducing it further.


https://reviews.llvm.org/D107476

Files:
  llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
  llvm/test/CodeGen/ARM/shifter_operand.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107476.364142.patch
Type: text/x-patch
Size: 5249 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210804/f3220f3d/attachment.bin>


More information about the llvm-commits mailing list