[llvm] [MachineLICM] Allow hoisting loads from invariant address (PR #70796)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 31 06:32:53 PDT 2023
================
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc -mtriple=aarch64-linux-gnu -o - %s | FileCheck %s
+; RUN: llc -mtriple=aarch64-linux-gnu -hoist-const-loads=false -o - %s | FileCheck %s
----------------
david-arm wrote:
THIS IS FOR LINE 12: It doesn't look like the load is critical to the test - I think we care about sinking the splat into the loop so that we can use the right form of smlal (i.e. the indexed variant). So perhaps you can just update the test with the load hoisted out?
https://github.com/llvm/llvm-project/pull/70796
More information about the llvm-commits
mailing list