[ARM] Define ComplexPatternFuncMutatesDAG
authorDavid Green <david.green@arm.com>
Fri, 6 Aug 2021 16:35:11 +0000 (17:35 +0100)
committerDavid Green <david.green@arm.com>
Fri, 6 Aug 2021 16:35:11 +0000 (17:35 +0100)
commit77e8f4eeeeed516a1c79365a4b8128da463d96c4
tree0b887ba91bbd3165b6bf92e5732ffbfcd7675f2c
parentf88ad8d00f970ea937e8d3fcb71f4d4019f2821a
[ARM] Define ComplexPatternFuncMutatesDAG

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.

Differential Revision: https://reviews.llvm.org/D107476
llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
llvm/test/CodeGen/ARM/shifter_operand.ll