[Legup-bugs] [Bug 43] New: make generate-wrapper on GSM causes error

bugzilla-daemon at legup.org bugzilla-daemon at legup.org
Wed Sep 8 18:45:15 EDT 2010


           Summary: make generate-wrapper on GSM causes error
           Product: legup
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P5
         Component: New Bugs
        AssignedTo: andrewcanis at gmail.com
        ReportedBy: jongsok.choi at gmail.com
                CC: legup-bugs at legup.org
   Estimated Hours: 0.0

To replicate

1. export NO_INLINE=1

2. open config.tcl and set function
set_accelerator_function "Gsm_LPC_Analysis"

3. make generate-wrapper

Error printed:

# produces pre-link time optimization binary bitcode: gsm.prelto.bc
llvm-gcc gsm.c -emit-llvm -c -fno-builtin -m32 -malign-double -I
../../lib/include/ -O3 -o gsm.prelto.bc
# strips away non-accelerated functions
../../../llvm/Release/bin/opt -legup-config=config.tcl
-load=../../../llvm/Release/lib//LLVMLegUp.so -legup-hw-only < gsm.prelto.bc >
Invalid user of intrinsic instruction!
i8* bitcast (void (i8*, i8, i64, i32)* @llvm.memset.i64 to i8*)
Broken module found, compilation aborted!
0  opt 0x0848e798
Stack dump:
0.    Program arguments: ../../../llvm/Release/bin/opt -legup-config=config.tcl
-load=../../../llvm/Release/lib//LLVMLegUp.so -legup-hw-only 
1.    Running pass 'Function Pass Manager' on module '<stdin>'.
make: *** [generate-wrapper] Error 134

Setting to any other function in GSM (ie. Autocorrelation,
Reflection_coefficients) also produced same error

Configure bugmail: http://legup.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the Legup-bugs mailing list