summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86ISelLowering.cpp
diff options
context:
space:
mode:
authorKirill Bobyrev <omtcyfz@gmail.com>2017-01-18 16:34:25 +0000
committerKirill Bobyrev <omtcyfz@gmail.com>2017-01-18 16:34:25 +0000
commit6afbaf0944a04d93b1263ec86b809a44d2a54abc (patch)
tree9c0e8104cabdca79684b7e93032b2c2ee2ab5311 /llvm/lib/Target/X86/X86ISelLowering.cpp
parent8de9c9b01ebf300355091f27b2f3f511680c11a6 (diff)
downloadbcm5719-llvm-6afbaf0944a04d93b1263ec86b809a44d2a54abc.tar.gz
bcm5719-llvm-6afbaf0944a04d93b1263ec86b809a44d2a54abc.zip
Revert 292404 due to buildbot failures.
llvm-svn: 292407
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelLowering.cpp')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index e3c2f8704c6..ee6a14cdb01 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -25369,7 +25369,7 @@ X86TargetLowering::EmitLoweredTLSAddr(MachineInstr &MI,
// inside MC, therefore without the two markers shrink-wrapping
// may push the prologue/epilogue pass them.
const TargetInstrInfo &TII = *Subtarget.getInstrInfo();
- const DebugLoc &DL = MI.getDebugLoc();
+ DebugLoc DL = MI.getDebugLoc();
MachineFunction &MF = *BB->getParent();
// Emit CALLSEQ_START right before the instruction.
@@ -34624,7 +34624,7 @@ void X86TargetLowering::LowerAsmOperandForConstraint(SDValue Op,
int64_t Offset = 0;
// Match either (GA), (GA+C), (GA+C1+C2), etc.
- while (true) {
+ while (1) {
if ((GA = dyn_cast<GlobalAddressSDNode>(Op))) {
Offset += GA->getOffset();
break;
OpenPOWER on IntegriCloud