[llvm] [AMDGPU][LowerBufferFatPointers] Erase dead ptr(7) intrinsics (PR #160798)

Krzysztof Drewniak via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 26 11:07:40 PDT 2025


================
@@ -2562,7 +2562,9 @@ bool AMDGPULowerBufferFatPointers::run(Module &M, const TargetMachine &TM) {
   for (Function *F : NeedsPostProcess)
     Splitter.processFunction(*F);
   for (Function *F : Intrinsics) {
-    if (isRemovablePointerIntrinsic(F->getIntrinsicID())) {
+    // use_empty() can also occor with cases like malked load, which will
----------------
krzysz00 wrote:

... this is what I get for making a patch real quick near EOD (and using Dvorak (and not having a spell checker on))

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


More information about the llvm-commits mailing list