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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to