mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 12:19:53 +00:00
80 col violations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131015 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fc5d305597
commit
ce1cdac942
@ -5555,7 +5555,9 @@ void SelectionDAGBuilder::visitInlineAsm(ImmutableCallSite CS) {
|
||||
|
||||
std::set<unsigned> OutputRegs, InputRegs;
|
||||
|
||||
TargetLowering::AsmOperandInfoVector TargetConstraints = TLI.ParseConstraints(CS);
|
||||
TargetLowering::AsmOperandInfoVector
|
||||
TargetConstraints = TLI.ParseConstraints(CS);
|
||||
|
||||
bool hasMemory = false;
|
||||
|
||||
unsigned ArgNo = 0; // ArgNo - The argument of the CallInst.
|
||||
@ -5614,7 +5616,8 @@ void SelectionDAGBuilder::visitInlineAsm(ImmutableCallSite CS) {
|
||||
hasMemory = true;
|
||||
else {
|
||||
for (unsigned j = 0, ee = OpInfo.Codes.size(); j != ee; ++j) {
|
||||
TargetLowering::ConstraintType CType = TLI.getConstraintType(OpInfo.Codes[j]);
|
||||
TargetLowering::ConstraintType
|
||||
CType = TLI.getConstraintType(OpInfo.Codes[j]);
|
||||
if (CType == TargetLowering::C_Memory) {
|
||||
hasMemory = true;
|
||||
break;
|
||||
@ -5664,7 +5667,8 @@ void SelectionDAGBuilder::visitInlineAsm(ImmutableCallSite CS) {
|
||||
// need to to provide an address for the memory input.
|
||||
if (OpInfo.ConstraintType == TargetLowering::C_Memory &&
|
||||
!OpInfo.isIndirect) {
|
||||
assert((OpInfo.isMultipleAlternative || (OpInfo.Type == InlineAsm::isInput)) &&
|
||||
assert((OpInfo.isMultipleAlternative ||
|
||||
(OpInfo.Type == InlineAsm::isInput)) &&
|
||||
"Can only indirectify direct input operands!");
|
||||
|
||||
// Memory operands really want the address of the value. If we don't have
|
||||
|
Loading…
Reference in New Issue
Block a user