[llvm-bugs] [Bug 12218] llvm hangs in JumpThreading::runOnFunction

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 9 11:37:06 PDT 2018


Brian Rzycki <brzycki at gmail.com> changed:

           What    |Removed                     |Added
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 CC|                            |brzycki at gmail.com

--- Comment #2 from Brian Rzycki <brzycki at gmail.com> ---
I just tested clang_hang.c with LLVM tip and cannot reproduce the problem.

brzycki at cc01 ~ $ /work/brzycki/tip/install/bin/clang --version
clang version 7.0.0
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /work/brzycki/tip/install/bin
brzycki at cc01 ~ $ time /work/brzycki/tip/install/bin/clang clang_hang.c -w -O2

real    0m3.302s
user    0m3.216s
sys     0m0.076s
brzycki at cc01 ~ $ time /work/brzycki/tip/install/bin/clang clang_hang.c -w -O3

real    0m3.485s
user    0m3.420s
sys     0m0.056s

The commit I tested is from
https://github.com/llvm-project/llvm-project-20170507.git using SHA:

commit 17e2331a3dc55d28e2986556a1b25b080c3861a5 (HEAD -> master, origin/master,
Author: Craig Topper <craig.topper at intel.com>
Date:   Mon Jul 9 18:23:55 2018 +0000

    [SelectionDAG] Add VT consistency checks to the creation of ISD::FMA.

    This is similar to what is done for binops. I don't know if this would have
helped us catch the bug fixed in r336566 earlier or not, but I figured it
couldn't hurt.

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/20180709/ee27ef96/attachment-0001.html>

More information about the llvm-bugs mailing list