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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
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._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs