[llvm-bugs] [Bug 38533] New: Cannot use this version of ReplaceAllUsesWith!

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Aug 12 03:28:03 PDT 2018


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

            Bug ID: 38533
           Summary: Cannot use this version of ReplaceAllUsesWith!
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm-dev at redking.me.uk
                CC: llvm-bugs at lists.llvm.org, niravd at google.com,
                    spatel+llvm at rotateright.com

define void @constant_fold_vector_to_half() {
  store volatile half bitcast (<4 x i4> <i4 0, i4 0, i4 0, i4 4> to half),
half* undef
  ret void
}

llc -mtriple=x86_64-unknown

Assertion failed: (!From->hasAnyUseOfValue(i) || From->getValueType(i) ==
To->getValueType(i)) && "Cannot use this version of ReplaceAllUsesWith!", file
C:\LLVM\llvm\lib\CodeGen\SelectionDAG\SelectionDAG.cpp, line 7715

Reduced from https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9384

-- 
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/20180812/141279c2/attachment-0001.html>


More information about the llvm-bugs mailing list