[llvm-bugs] [Bug 38038] New: Transformation forms a non-viable shift node.
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jul 3 06:41:08 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38038
Bug ID: 38038
Summary: Transformation forms a non-viable shift node.
Product: libraries
Version: trunk
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: Scalar Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: scanon at apple.com
CC: llvm-bugs at lists.llvm.org
$ cat c.ll
define i8 @crash(half) {
entry:
%1 = bitcast half %0 to i16
%.lobit = lshr i16 %1, 15
%2 = trunc i16 %.lobit to i8
ret i8 %2
}
$ build01/llvm-macosx-x86_64/bin/llc c.ll
Assertion failed: (VT == N1.getValueType() && "Shift operators return type must
be the same as their first arg"), function getNode, file
/Users/arnold/Github/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp, line 4351.
Apparent root cause of https://bugs.swift.org/browse/SR-7763
--
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/20180703/29b71607/attachment-0001.html>
More information about the llvm-bugs
mailing list