[LLVMbugs] [Bug 16257] New: fmul of undef ConstantExpr not folded to undef

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jun 7 02:01:21 PDT 2013


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: unassignedbugs at nondot.org
          Reporter: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130607/a9648207/attachment.html>


More information about the llvm-bugs mailing list