[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:23 PDT 2025
================
@@ -1278,7 +1279,7 @@ Value *EarlyCSE::getMatchingValue(LoadValue &InVal, ParseMemoryInst &MemInst,
return nullptr;
if (!Result)
- Result = getOrCreateResult(Matching, Other->getType());
+ Result = getOrCreateResult(Matching, Other->getType(), true);
----------------
fhahn wrote:
Done thanks
https://github.com/llvm/llvm-project/pull/134534
More information about the llvm-commits
mailing list