http://llvm.org/bugs/show_bug.cgi?id=21042

            Bug ID: 21042
           Summary: fpowi handling on 64-bit architectures
           Product: new-bugs
           Version: 3.4
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 13075
  --> http://llvm.org/bugs/attachment.cgi?id=13075&action=edit
a partially compiled to .ll example

When compiling the attached .ll file, compilation for 64-bit targets assert
with "do not know how to promote this operator's operand".  sparcv9, powerpc,
aarch64.

The culprit is the fpowi() opcode.  I tried to add cases in
PromoteIntegerResult and PromoteIntegerOperand, but I get other asserts. 
Either I'm missing something in my implementation (quite possible) or there is
a deeper problem with assumptions about the datatypes of opcodes.

The original source is slamchf77.f compiled with gcc4.6.0 + dragonegg to a .ll
file.

Richard Gorton
[email protected]

-- 
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