[Bug tree-optimization/65773] [5 Regression] GCC 5.1 miscompiles LLVM function AArch64InstrInfo::loadRegFromStackSlot()

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 16 10:13:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65773

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
For better analysis, I'll note that the:
@@ -5846,13 +5848,13 @@ virtual void llvm::AArch64InstrInfo::loa
   D.391854.SubReg_TargetFlags = 0;
   D.391854.ParentMI = 0B;
   D.391854.Contents.ImmVal = 0;
-  llvm::MachineInstr::addOperand (MI_301, _440, &D.391854);
+  llvm::MachineInstr::addOperand (SR.1446_371(D), SR.1445_78(D), &D.391854);

   <bb 82>:
   D.391854 ={v} {CLOBBER};

   <bb 83>:
-  llvm::MachineInstr::addMemOperand (MI_301, _440, MMO_21);
+  llvm::MachineInstr::addMemOperand (SR.1446_371(D), SR.1445_78(D), MMO_21);

   <bb 84>:
   _79 = MEM[(struct TrackingMDRef *)&DL].MD;
change in the loadRegFromStackSlot function in *.optimized dump started with
r211725.



More information about the Gcc-bugs mailing list