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

            Bug ID: 36152
           Summary: float to unsigned char conversion looses zero-extend
           Product: libraries
           Version: 5.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedb...@nondot.org
          Reporter: jeroen.dobbela...@synopsys.com
                CC: llvm-bugs@lists.llvm.org

Created attachment 19772
  --> https://bugs.llvm.org/attachment.cgi?id=19772&action=edit
example.c

On architectures where i8/i16 are not valid register types, legalization
wrongly omits a 'zext i8 to i32' for code like 'unsigned char foo(float a) {
return a; }'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to