[llvm-commits] [llvm] r73884 - /llvm/trunk/lib/Analysis/ScalarEvolution.cpp

Dan Gohman gohman at apple.com
Mon Jun 22 15:03:27 PDT 2009


Hi Nicholas,

Thanks for the report. I submitted a fix in r73908.

Dan

On Jun 22, 2009, at 2:38 PM, Nicolas Geoffray wrote:


> Hi Dan,
>
> I believe this patch is responsible for the bug highlighted by the  
> attached (bugpoint reduced) test-case. Older revisions compile the  
> test case correclty.
>
> FYI, here's what I get when llc'ing the file (arch=x86 OS=linux):
>
>
> llc: /home/ngeoffray/project/llvm-svn/llvm/include/llvm/ADT/APInt.h: 
> 216: llvm::APInt::APInt(unsigned int, uint64_t, bool): Assertion  
> `BitWidth && "bitwidth too small"' failed.
> 0   llc 0x08beb5c8
> Stack dump:
> 0.    Program arguments: ../llvm/Release/bin/llc -march=x86 bugpoint- 
> reduced-simplified.bc
> 1.    Running pass 'Loop Pass Manager' on function  
> '@JnJVM_antlr_CSharpCodeGenerator_genBitSet__Lantlr_collections_impl_BitSet_2I 
> '
> 2.    Running pass 'Loop Strength Reduction' on basic block '%"GOTO  
> or IF*6"'
>
> Would you like me to open a PR?
>
> Nicolas
>




More information about the llvm-commits mailing list