mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Simplify code. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219082 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
30ae72f02c
commit
740cc2672a
@ -57,10 +57,8 @@ namespace {
|
|||||||
Location getArgLocation(ImmutableCallSite CS, unsigned ArgIdx,
|
Location getArgLocation(ImmutableCallSite CS, unsigned ArgIdx,
|
||||||
ModRefResult &Mask) override {
|
ModRefResult &Mask) override {
|
||||||
Mask = ModRef;
|
Mask = ModRef;
|
||||||
AAMDNodes AATags(
|
AAMDNodes AATags;
|
||||||
CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa),
|
CS->getAAMetadata(AATags);
|
||||||
CS.getInstruction()->getMetadata(LLVMContext::MD_alias_scope),
|
|
||||||
CS.getInstruction()->getMetadata(LLVMContext::MD_noalias));
|
|
||||||
return Location(CS.getArgument(ArgIdx), UnknownSize, AATags);
|
return Location(CS.getArgument(ArgIdx), UnknownSize, AATags);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user