[llvm-bugs] [Bug 11736] %R Unsupported operand type for movw/movt on ARMv6T2 and later

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Aug 16 10:53:38 PDT 2015


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

Saleem Abdulrasool <compnerd at compnerd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |compnerd at compnerd.org
         Resolution|---                         |WORKSFORME

--- Comment #4 from Saleem Abdulrasool <compnerd at compnerd.org> ---
As Eli mentioned, this is incorrect.  The movw/movt instructions only have
immediate forms.

You should now get a proper diagnostic for the invalid input rather than
hitting an unreachable path:

error: invalid operand for instruction
movt r0, r1
           ^

-- 
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/20150816/5a34b856/attachment-0001.html>


More information about the llvm-bugs mailing list