diff options
author | Dale Johannesen <dalej@apple.com> | 2010-06-25 21:55:36 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2010-06-25 21:55:36 +0000 |
commit | ce97d55ad94ebc11b978a2e7cfa7c11abbbdb3e1 (patch) | |
tree | 1743ea3ca42ec9085e3d8fc4640ea919cbb847c9 /llvm/lib/Transforms/Utils | |
parent | e70c8b150b5e4ede7c9238659ec19675a6cfe0e2 (diff) | |
download | bcm5719-llvm-ce97d55ad94ebc11b978a2e7cfa7c11abbbdb3e1.tar.gz bcm5719-llvm-ce97d55ad94ebc11b978a2e7cfa7c11abbbdb3e1.zip |
The hasMemory argument is irrelevant to how the argument
for an "i" constraint should get lowered; PR 6309. While
this argument was passed around a lot, this is the only
place it was used, so it goes away from a lot of other
places.
llvm-svn: 106893
Diffstat (limited to 'llvm/lib/Transforms/Utils')
-rw-r--r-- | llvm/lib/Transforms/Utils/AddrModeMatcher.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/AddrModeMatcher.cpp b/llvm/lib/Transforms/Utils/AddrModeMatcher.cpp index f0cc6f7c5db..7b050e35ef5 100644 --- a/llvm/lib/Transforms/Utils/AddrModeMatcher.cpp +++ b/llvm/lib/Transforms/Utils/AddrModeMatcher.cpp @@ -401,8 +401,7 @@ static bool IsOperandAMemoryOperand(CallInst *CI, InlineAsm *IA, Value *OpVal, } // Compute the constraint code and ConstraintType to use. - TLI.ComputeConstraintToUse(OpInfo, SDValue(), - OpInfo.ConstraintType == TargetLowering::C_Memory); + TLI.ComputeConstraintToUse(OpInfo, SDValue()); // If this asm operand is our Value*, and if it isn't an indirect memory // operand, we can't fold it! |