[LLVMbugs] [Bug 10481] Assertion: `TLI.getTypeAction(*DAG.getContext(), Node->getValueType(i)) == TargetLowering::TypeLegal && "Unexpected illegal type!"' failed.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Aug 4 15:39:09 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10481
Bill Wendling <wendling at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |wendling at apple.com
Resolution| |INVALID
--- Comment #1 from Bill Wendling <wendling at apple.com> 2011-08-04 17:39:08 CDT ---
I don't know if what you're trying to do is legal. You're taking a bitcode file
compiled for x86_64 and trying to output x86. It can't handle the i64 type in a
register, so it's trying to "expand" it into multiple integers.
Simplified version:
target triple = "x86_64-unknown-linux-gnu"
define void @autogen_5860_500() {
BB:
%Shuff = shufflevector <8 x i64> zeroinitializer, <8 x i64> zeroinitializer,
<8 x i32> <i32 undef, i32 7, i32 undef, i32 11, i32 13, i32 undef, i32 1, i32
3>
%B = xor <8 x i64> %Shuff, zeroinitializer
br label %CF
CF: ; preds = %CF, %BB
%S17 = icmp uge <8 x i64> %B, zeroinitializer
br i1 undef, label %CF, label %CF39.critedge
CF39.critedge: ; preds = %CF
%Shuff31.c = shufflevector <8 x i1> %S17, <8 x i1> %S17, <8 x i32> <i32
undef, i32 7, i32 9, i32 11, i32 13, i32 15, i32 1, i32 3>
ret void
}
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list