[llvm-bugs] [Bug 26514] New: [Polly] A compile time error of gsmatrix.c from the LNT test suite

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Feb 7 02:50:38 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26514

            Bug ID: 26514
           Summary: [Polly] A compile time error of gsmatrix.c from the
                    LNT test suite
           Product: Polly
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Optimizer
          Assignee: polly-dev at googlegroups.com
          Reporter: gareevroman at gmail.com
                CC: llvm-bugs at lists.llvm.org, tobias at grosser.es
    Classification: Unclassified

Created attachment 15852
  --> https://llvm.org/bugs/attachment.cgi?id=15852&action=edit
A test case

This Bug is related to the following compile time error of gsmatrix.c from the
LNT test suite:

/home/roman/Documents/polly/build/llvm/bin/clang -DNOMEMOPT
-DGS_LIB_DEFAULT=\"/home/roman/llvm-test-suite/MultiSource/Benchmarks/MallocBench/gs:/home/roman/llvm-test-suite/MultiSource/Benchmarks/MallocBench/gs/fonts\"
-DNOPRIVATE
-I/tmp_home/compiled/llvm/SANDBOX/test-2016-02-05_18-47-34/MultiSource/Benchmarks/MallocBench/gs
-I/home/roman/llvm-test-suite/MultiSource/Benchmarks/MallocBench/gs
-I/home/roman/llvm-test-suite/include -I../../../../include -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -DNDEBUG -Wno-implicit-function-declaration -O3 -Xclang
-load -Xclang /tmp_home/compiled/llvm/lib/LLVMPolly.so -O3 -mllvm -polly -mllvm
-polly-process-unprofitable -m64 -fomit-frame-pointer -c
/home/roman/llvm-test-suite/MultiSource/Benchmarks/MallocBench/gs/gsmatrix.c -o
Output/gsmatrix.llvm.o

fatal error: error in backend: Cannot select: 0x4c71400: i64 = bitcast
0x4c9faf0
  0x4c9faf0: f32,ch = load<LD4[%polly.access.pmat](align=8)> 0x4bc6030,
0x4c779f0, undef:i64
    0x4c779f0: i64 = add 0x4c788d0, Constant:i64<32>
      0x4c788d0: i64,ch = CopyFromReg 0x4bc6030, Register:i64 %vreg9
        0x4c9c750: i64 = Register %vreg9
      0x4c794b0: i64 = Constant<32>
    0x4c9fc20: i64 = undef
In function: gs_point_transform

A corresponding test case, which can be found attached, produces the following
error, if we try to use opt with  -polly-codegen
-polly-process-unprofitable=true.
/home/roman/Documents/polly/build/llvm/bin/bugpoint -safe-run-llc  test_case.ll
 -load /tmp_home/compiled/llvm/lib/LLVMPolly.so  -polly-codegen
-polly-process-unprofitable=true

Invalid bitcast
  %2 = bitcast float %polly.access.pmat.load to i64
LLVM ERROR: Broken function found, compilation aborted!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160207/9c246062/attachment-0001.html>


More information about the llvm-bugs mailing list