Changes between Initial Version and Version 1 of Ticket #6158


Ignore:
Timestamp:
Jun 12, 2012 9:26:30 AM (3 years ago)
Author:
simonmar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6158

    • Property Difficulty changed from to Unknown
  • Ticket #6158 – Description

    initial v1  
    11Under LLVM 3.1, opt is crashing when compiling code produced by GHC which makes calls to memcpy. After talking to the guys in #llvm they informed me that memcpy needs its alignment argument to be a const value, not from a value in a register. An example of the crash log: 
    22 
     3{{{ 
    34alignment argument of memory intrinsics must be a constant int 
    45  call void @llvm.memcpy.p0i8.p0i8.i64(i8* %lnfVC, i8* %lnfVE, i64 %lnfVF, i32 %lnfVG, i1 false) 
     
    28291.      Running pass 'Function Pass Manager' on module 'mmulttest.ll'. 
    29302.      Running pass 'Module Verifier' on function '@seo9_info' 
     31}}}