[llvm-bugs] [Bug 45780] Using an enum instead of literal + optimizing causes backend to fail with an operand error

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 4 13:13:08 PDT 2020


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

Erich Keane <erich.keane at intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
 Fixed By Commit(s)|                            |9fbf9989a2bf0edfbe1b482de47
                   |                            |0dcccd1108e24

--- Comment #7 from Erich Keane <erich.keane at intel.com> ---
"Fixed" in 9fbf9989a2bf0edfbe1b482de470dcccd1108e24 by prohibiting enums from
appearing like this.  You can use a cast here to make it work.

-- 
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/20200504/136c756c/attachment.html>


More information about the llvm-bugs mailing list