[llvm] [AMDGPU] Add IR-level pass to rewrite away address space 7 (PR #77952)

Piotr Sobczak via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 16 00:27:07 PST 2024


================
@@ -1129,9 +1125,26 @@ void AMDGPUPassConfig::addCodeGenPrepare() {
     // but has been put before switch lowering and CFG flattening so that those
     // passes can run on the more optimized control flow this pass creates in
     // many cases.
+    //
+    // FIXME: This should ideally be put after the LoadStoreVectorizer.
----------------
piotrAMD wrote:

Looks ok as a workaround of https://github.com/llvm/llvm-project/issues/64863, and agreed that the previous placement of the new pass was preferred.

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


More information about the llvm-commits mailing list