[llvm] [NFC][AMDGPU] Use m_Intrinsic and m_AnyIntrinsic PatternMatch combinators across the backend (PR #194337)

Pierre van Houtryve via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 27 04:33:56 PDT 2026


================
@@ -964,6 +964,7 @@ AMDGPUPromoteAllocaImpl::getVectorTypeForAlloca(Type *AllocaTy) const {
 }
 
 void AMDGPUPromoteAllocaImpl::analyzePromoteToVector(AllocaAnalysis &AA) const {
+  using namespace PatternMatch;
----------------
Pierre-vh wrote:

Don't bother with using namespace if there is only one use, I don't think it helps readability. Same in this file and the others.

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


More information about the llvm-commits mailing list