[llvm-bugs] [Bug 34503] New: Codegen generates invalid code.

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 6 06:59:39 PDT 2017


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

            Bug ID: 34503
           Summary: Codegen generates invalid code.
           Product: Polly
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Other
          Assignee: polly-dev at googlegroups.com
          Reporter: llvm at meinersbur.de
                CC: llvm-bugs at lists.llvm.org

Created attachment 19113
  --> https://bugs.llvm.org/attachment.cgi?id=19113&action=edit
lambda-code_0.ll

The attached test case fails with

opt  -polly-process-unprofitable  -polly-remarks-minimal  -polly-use-llvm-names
 -polly-import-jscop-dir=C:\Users\Meinersbur\src\llvm\tools\polly\test 
-polly-codegen -S -verify-each <
C:\Users\Meinersbur\src\llvm\tools\polly\test\lambda-code_0.ll
--
Exit Code: 1

Command Output (stdout):
--
$ "opt" "-polly-process-unprofitable" "-polly-remarks-minimal"
"-polly-use-llvm-names"
"-polly-import-jscop-dir=C:\Users\Meinersbur\src\llvm\tools\polly\test"
"-polly-codegen" "-S" "-verify-each"
# command stderr:
Instruction does not dominate all uses!
  %call3.i.i.i73 = call i8* @vec_heap_o_reserve() #3
  %1 = ptrtoint i8* %call3.i.i.i73 to i64
Instruction does not dominate all uses!
  %call3.i.i.i73 = call i8* @vec_heap_o_reserve() #3
  %3 = ptrtoint i8* %call3.i.i.i73 to i64
LLVM ERROR: Broken function found, compilation aborted!

error: command failed with exit status: 1



This is probably caused by commit 
r312410 - [ScopDetect/Info] Look through PHIs that follow an error block

-- 
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/20170906/04c864aa/attachment-0001.html>


More information about the llvm-bugs mailing list