[llvm-commits] [llvm] r141576 - in /llvm/trunk: lib/CodeGen/MachineLICM.cpp test/CodeGen/X86/sink-hoist.ll test/CodeGen/X86/widen_arith-4.ll
Devang Patel
dpatel at apple.com
Mon Oct 10 15:24:28 PDT 2011
On Oct 10, 2011, at 3:05 PM, Francois Pichet wrote:
> On Mon, Oct 10, 2011 at 4:32 PM, Devang Patel <dpatel at apple.com> wrote:
>> Author: dpatel
>> Date: Mon Oct 10 15:32:03 2011
>> New Revision: 141576
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=141576&view=rev
>> Log:
>> If loop header is also loop exiting block then it may not be safe to hoist instructions.
>>
>> Modified:
>> llvm/trunk/lib/CodeGen/MachineLICM.cpp
>> llvm/trunk/test/CodeGen/X86/sink-hoist.ll
>> llvm/trunk/test/CodeGen/X86/widen_arith-4.ll
>>
>
> Hi,
> On MSVC 2010, this or a related commit is causing an assert for
> test/CodeGen/X86/2008-02-08-LoadFoldingBug.ll
>
> C:\dev\llvm\test>llc
> c:/dev/llvm/llvm_trunk/test/CodeGen/X86/2008-02-08-LoadFoldingBug.ll
> Assertion failed: i < getNumOperands() && "getOperand() out of
> range!", file C:\dev\llvm\llvm_trunk\include\llvm/CodeGen/MachineInstr.h,
> line 201
>
> here is a stack dump:
> http://pastebin.com/As2fdbGv
I am investigating this.
-
Devang
More information about the llvm-commits
mailing list