[all-commits] [llvm/llvm-project] 41fc9b: [LAA] Fix recordAnalysis receiving null Instructio...
Igor Kirillov via All-commits
all-commits at lists.llvm.org
Mon Mar 2 09:00:51 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 41fc9b98459c47d71579faef761160f0675b0772
https://github.com/llvm/llvm-project/commit/41fc9b98459c47d71579faef761160f0675b0772
Author: Igor Kirillov <igor.kirillov at arm.com>
Date: 2026-03-02 (Mon, 02 Mar 2026)
Changed paths:
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
A llvm/test/Transforms/LoopVectorize/non-vectorizable-call-remark.ll
Log Message:
-----------
[LAA] Fix recordAnalysis receiving null Instruction pointer (#183512)
When a memory-reading or memory-writing instruction is not a
LoadInst/StoreInst, the dyn_cast to Ld/St returns nullptr, which is then
passed to recordAnalysis. This causes the optimization remark to fall
back to the loop header location instead of pointing at the actual
problematic instruction.
Pass &I (the actual Instruction) instead.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list