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

            Bug ID: 16257
           Summary: fmul of undef ConstantExpr not folded to undef
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Testcase:

define double @Sqr() {
  ret double fmul (double undef, double undef)
}

$ opt -instcombine -S -o - math-fold.ll 
; ModuleID = 'math-fold.ll'

define double @Sqr() {
  ret double fmul (double undef, double undef)
}

It should be folded to undef.

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