[ARM][LowOverheadLoops] TryRemove helper.
authorSam Parker <sam.parker@arm.com>
Wed, 30 Sep 2020 08:36:57 +0000 (09:36 +0100)
committerSam Parker <sam.parker@arm.com>
Wed, 30 Sep 2020 08:37:24 +0000 (09:37 +0100)
commit779a8a028f53f16234b41e5252b805304788b989
treef71d5ab1021a0c45b8d443e610da753ee16bd7b7
parent8392685c2b9f3c2025100dd25b6c6e5eae312d92
[ARM][LowOverheadLoops] TryRemove helper.

Make a helper function that wraps around RDA::isSafeToRemove and
utilises the existing DCE IT block checks.
llvm/lib/CodeGen/ReachingDefAnalysis.cpp
llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp