mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-15 17:58:50 +00:00
Simplify code. No functionality change.
llvm-svn: 219082
This commit is contained in:
parent
aa7f8c811b
commit
2b33247371
@ -57,10 +57,8 @@ namespace {
|
||||
Location getArgLocation(ImmutableCallSite CS, unsigned ArgIdx,
|
||||
ModRefResult &Mask) override {
|
||||
Mask = ModRef;
|
||||
AAMDNodes AATags(
|
||||
CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa),
|
||||
CS.getInstruction()->getMetadata(LLVMContext::MD_alias_scope),
|
||||
CS.getInstruction()->getMetadata(LLVMContext::MD_noalias));
|
||||
AAMDNodes AATags;
|
||||
CS->getAAMetadata(AATags);
|
||||
return Location(CS.getArgument(ArgIdx), UnknownSize, AATags);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user