[LLVMbugs] [Bug 23173] New: PPC Back end crashes in 32-bit mode on conversions of i64 to/from f32

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 9 11:04:33 PDT 2015


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

            Bug ID: 23173
           Summary: PPC Back end crashes in 32-bit mode on conversions of
                    i64 to/from f32
           Product: libraries
           Version: trunk
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: nemanja.i.ibm at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Reduced test case:
$ cat bug_conv_f32_to_i64.c 
// Compile with clang -target=powerpc-unknown-unknown -c -mcpu=pwr7
unsigned long long testullf(float arg) { return arg; }

$ clang -target=powerpc-unknown-unknown -c -mcpu=pwr7 bug_conv_f32_to_i64.c
Do not know how to custom type legalize this operation!
UNREACHABLE executed at $LLVM_SRC/lib/Target/PowerPC/PPCISelLowering.cpp:7729!

Same thing happens when llc is run on the resulting ll/bc file.

-- 
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/20150409/8884283d/attachment.html>


More information about the llvm-bugs mailing list