[clang] [llvm] [polly] [DebugInfo] Remove dead debug intrinsic handling (NFC) (PR #231379)
Alexis Engelke via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 13 00:00:51 PDT 2026
================
@@ -5556,10 +5556,7 @@ static FixedVectorType *tryCanonicalizeStructToVector(StructType *STy,
return true;
User *Usr = U->getUser();
- if (isa<LifetimeIntrinsic>(Usr) || isa<DbgInfoIntrinsic>(Usr))
- return true;
-
- return isa<MemIntrinsic>(Usr);
+ return isa<LifetimeIntrinsic, MemIntrinsic>(Usr);
----------------
aengelke wrote:
`return !U || isa<LifetimeIntrinsic, MemIntrinsic>(U->getUser());`
https://github.com/llvm/llvm-project/pull/231379
More information about the cfe-commits
mailing list