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: unassignedb...@nondot.org
          Reporter: llvm-...@redking.me.uk
                CC: llvm-bugs@lists.llvm.org, nir...@google.com,
                    spatel+l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to