[llvm] [MachineLICM] Workaround - apply RegMasks conservatively (PR #95926)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 19 06:55:54 PDT 2024


================
@@ -0,0 +1,49 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5
+# RUN: llc -mtriple=aarch64-unknown-linux-gnu -run-pass=greedy,machinelicm -verify-machineinstrs -debug -o - %s | FileCheck %s
+
+# FIXME: Running RA is needed otherwise it runs pre-RA LICM.
----------------
arsenm wrote:

I think you are working around the MIR parser bug where it assumes SSA until it finds something obviously not SSA. The pass needs to clear the properties and I think we need an explicit SSA property 

https://github.com/llvm/llvm-project/pull/95926


More information about the llvm-commits mailing list