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:
Benjamin Kramer 2014-10-05 12:21:57 +00:00
parent 30ae72f02c
commit 740cc2672a

View File

@ -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);
} }