[llvm-bugs] [Bug 48552] New: sext .. to instruction inconsistency with i16

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Dec 18 06:54:06 PST 2020


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

            Bug ID: 48552
           Summary: sext .. to instruction inconsistency with i16
           Product: new-bugs
           Version: 11.0
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: edgoldwe at umich.edu
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

When using the 'sext' instruction with a destination type of i16, the resulting
value is unsigned. 

For example:

%X = sext i8  -1 to i16              ; yields i16   :65535

Whereas 

%X = sext i8  -1 to i32              ; yields i32   :-1

-- 
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/20201218/6af223eb/attachment.html>


More information about the llvm-bugs mailing list