[llvm-bugs] [Bug 41725] loop-interchange makes function broken with "opt -instcombine -licm -structurizecfg -jump-threading -loop-rotate -instcombine -loop-interchange"

2019-11-22 Thread via llvm-bugs
https://bugs.llvm.org/show_bug.cgi?id=41725

Florian Hahn  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #6 from Florian Hahn  ---
The new crash is a duplicate of PR 43473 and the patch there fixes the
reproducer attached here.

*** This bug has been marked as a duplicate of bug 43473 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 41725] loop-interchange makes function broken with "opt -instcombine -licm -structurizecfg -jump-threading -loop-rotate -instcombine -loop-interchange"

2019-11-02 Thread via llvm-bugs
https://bugs.llvm.org/show_bug.cgi?id=41725

Zhide Zhou  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #3 from Zhide Zhou  ---


$clang -v
clang version 10.0.0 (https://github.com/llvm/llvm-project.git
ec630194fe64e9e304487040e808d0696a4f1895)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.5.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.5.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.4.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.4.0
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Candidate multilib: x32;@mx32
Selected multilib: .;@m64

$opt -gvn-hoist  -loop-rotate -sroa -ipconstprop -constprop -simplifycfg
-loop-interchange  gemver.bc 
WARNING: You're attempting to print out a bitcode file.
This is inadvisable as it may cause display problems. If
you REALLY want to taste LLVM bitcode first-hand, you
can force output with the `-f' option.

Instruction does not dominate all uses!
  %split7 = phi i32 [ %i.1, %for.inc45 ]
  %inc46 = add nsw i32 %split7, 1, !dbg !267
in function kernel_gemver
LLVM ERROR: Broken function found, compilation aborted!

The optimization sequence can be reduced to '-loop-interchange' using bugpoint.

$opt -verify bugpoint-reduced-simplified.bc -loop-interchange
WARNING: You're attempting to print out a bitcode file.
This is inadvisable as it may cause display problems. If
you REALLY want to taste LLVM bitcode first-hand, you
can force output with the `-f' option.

Instruction does not dominate all uses!
  %split7 = phi i32 [ %i.1, %for.inc45 ]
  %inc46 = add nsw i32 %split7, 1
in function kernel_gemver
LLVM ERROR: Broken function found, compilation aborted!

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 41725] loop-interchange makes function broken with "opt -instcombine -licm -structurizecfg -jump-threading -loop-rotate -instcombine -loop-interchange"

2019-05-09 Thread via llvm-bugs
https://bugs.llvm.org/show_bug.cgi?id=41725

Zhide Zhou  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs