[llvm-bugs] [Bug 31597] Crash/assert when using regalloc= with -O0

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 25 15:08:54 PDT 2018


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

Francis Visoiu Mistrih <francisvm at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |francisvm at yahoo.com
         Resolution|---                         |FIXED

--- Comment #1 from Francis Visoiu Mistrih <francisvm at yahoo.com> ---
Now it errors out.

$ echo "define i32 @main() { ret i32 0 }" | ./build/bin/llc -O0
--regalloc=basic                                                      *[master]

LLVM ERROR: Must use fast (default) register allocator for unoptimized
regalloc.

$ echo "define i32 @main() { ret i32 0 }" | ./build/bin/llc -O0
--regalloc=greedy                                                     *[master]

LLVM ERROR: Must use fast (default) register allocator for unoptimized
regalloc.

$ echo "define i32 @main() { ret i32 0 }" | ./build/bin/llc -O0 --regalloc=pbqp
                                                      *[master]

LLVM ERROR: Must use fast (default) register allocator for unoptimized
regalloc.

-- 
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/20181025/49f65af6/attachment-0001.html>


More information about the llvm-bugs mailing list