mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 07:24:47 +00:00
[InstCombine] Actually combine AA metadata when replacing one load with another
Fixes PR24083 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241955 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -762,8 +762,6 @@ Instruction *InstCombiner::visitLoadInst(LoadInst &LI) {
|
||||
LLVMContext::MD_nonnull,
|
||||
};
|
||||
combineMetadata(NLI, &LI, KnownIDs);
|
||||
if (AATags)
|
||||
NLI->setAAMetadata(AATags);
|
||||
};
|
||||
|
||||
return ReplaceInstUsesWith(
|
||||
|
Reference in New Issue
Block a user