[llvm-bugs] [Bug 45887] llvm-mc: ICE in llvm::AMDGPUInstPrinter::printU32ImmOperand for mattr=-code-object-v3 -mcpu=fiji

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Apr 21 06:12:27 PDT 2021


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

Tobias Burnus <burnus at net-b.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Tobias Burnus <burnus at net-b.de> ---
Close as FIXED.

Current post-LLVM 12 llvm-mc gives for the attached file:

llvm-mc --triple=amdgcn--amdhsa -mcpu=fiji -filetype=obj
--amdhsa-code-object-version=2 foo.s -o foo.o
foo.s:753:2: error: undefined label '.L33'
        s_branch        .L33
        ^

As .L33 is in .text.unlikely and "s_branch" is in .text.

Hence, the internal error/segfault is now fixed.

-- 
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/20210421/c90bc7d3/attachment-0001.html>


More information about the llvm-bugs mailing list