[llvm] r196640 - Correct think-o in foldPatchpoint. Thanks to Andy Trick for pointing it out.
David Blaikie
dblaikie at gmail.com
Mon Dec 9 11:19:08 PST 2013
Can/should/is this tested?
On Fri, Dec 6, 2013 at 7:30 PM, Lang Hames <lhames at gmail.com> wrote:
> Author: lhames
> Date: Fri Dec 6 21:30:59 2013
> New Revision: 196640
>
> URL: http://llvm.org/viewvc/llvm-project?rev=196640&view=rev
> Log:
> Correct think-o in foldPatchpoint. Thanks to Andy Trick for pointing it out.
>
> Modified:
> llvm/trunk/lib/CodeGen/TargetInstrInfo.cpp
>
> Modified: llvm/trunk/lib/CodeGen/TargetInstrInfo.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/TargetInstrInfo.cpp?rev=196640&r1=196639&r2=196640&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/TargetInstrInfo.cpp (original)
> +++ llvm/trunk/lib/CodeGen/TargetInstrInfo.cpp Fri Dec 6 21:30:59 2013
> @@ -425,7 +425,7 @@ static MachineInstr* foldPatchpoint(Mach
> MIB.addImm(StackMaps::IndirectMemRefOp);
> MIB.addImm(SpillSize);
> MIB.addFrameIndex(FrameIndex);
> - MIB.addImm(0);
> + MIB.addImm(SpillOffset);
> }
> else
> MIB.addOperand(MO);
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list