[PATCH] D140599: AMDGPU: Promote array alloca if used by memmove/memcpy

Ruiling, Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 8 17:46:16 PST 2023


ruiling added inline comments.
Herald added a subscriber: StephenFan.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp:508
+        return dyn_cast<ConstantInt>(calculateVectorIndex(Ptr, GEPVectorIdx));
+      };
+
----------------
arsenm wrote:
> Extra ;
I guess you might misread here? I think we always put a semicolon at the end of lambda expression.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140599/new/

https://reviews.llvm.org/D140599



More information about the llvm-commits mailing list