[llvm] [MachineLICM] Hoist COPY instruction only when user can be hoisted (PR #81735)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 05:55:22 PST 2024


================
@@ -0,0 +1,94 @@
+; NOTE: There must be no spill reload inside the loop starting with LBB0_1:
+; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -O2 -vectorize-loops -vectorize-slp -amdgpu-early-inline-all=true -amdgpu-function-calls=false < %s | FileCheck %s
----------------
arsenm wrote:

-amdgpu-early-inline-all=true -amdgpu-function-calls=false shouldn't do anything with llc. Don't think -vectorize-loops -vectorize-slp do either, and -O2 is the default 

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


More information about the llvm-commits mailing list