[llvm-bugs] [Bug 25750] New: Float2Int transform fails with vector instructions.

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Dec 4 22:52:35 PST 2015


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

            Bug ID: 25750
           Summary: Float2Int transform fails with vector instructions.
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: zalman at google.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15399
  --> https://llvm.org/bugs/attachment.cgi?id=15399&action=edit
Trivial bitcode example that causes Float2Int pass to fail.

The Float2Int transform pass fails if it matches an instruction sequence that
has vector operands. A trivial example is provided which causes the following
error in Type::getFltSemantics:

Invalid floating type
UNREACHABLE executed at
/usr/local/google/home/zalman/src/halide/llvm/include/llvm/IR/Type.h:165!

-- 
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/20151205/9f910205/attachment.html>


More information about the llvm-bugs mailing list