[llvm] [EarlyCSE, TTI] Don't create new, unused, instructions. (PR #134534)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 8 04:02:22 PDT 2025
================
@@ -1256,7 +1257,7 @@ Value *EarlyCSE::getMatchingValue(LoadValue &InVal, ParseMemoryInst &MemInst,
// For stores check the result values before checking memory generation
// (otherwise isSameMemGeneration may crash).
Value *Result = MemInst.isStore()
- ? getOrCreateResult(Matching, Other->getType())
+ ? getOrCreateResult(Matching, Other->getType(), false)
----------------
fhahn wrote:
done thanks
https://github.com/llvm/llvm-project/pull/134534
More information about the llvm-commits
mailing list