[AArch64] Make machine combiner patterns preserve MIFlags
authorJohn Brawn <john.brawn@arm.com>
Mon, 31 Jan 2022 15:13:34 +0000 (15:13 +0000)
committerJohn Brawn <john.brawn@arm.com>
Thu, 3 Feb 2022 11:58:59 +0000 (11:58 +0000)
commit94843ea7d7e5b004f6b70ce37716289861a2196b
tree90c1f8d60e95175f57f24389e610ca72a7214106
parentc39969ef252e7b285a9ef87e9a14d701acdced7b
[AArch64] Make machine combiner patterns preserve MIFlags

This is mainly done so that we don't lose the nofpexcept flag once we
start emitting it.

Differential Revision: https://reviews.llvm.org/D118621
llvm/lib/CodeGen/TargetInstrInfo.cpp
llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
llvm/test/CodeGen/AArch64/machine-combiner-instr-fmf.mir
llvm/test/CodeGen/AArch64/machine-combiner-reassociate.mir [new file with mode: 0644]