New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CodeGen/X86/xmm-r64.ll failure on non-x86-64 hosts #1382
Comments
assigned to @lattner |
Backtrace: (gdb) bt |
Fixed, patch here: -Chris |
…licit (llvm#1382) When calling a character function, the result is allocated on the caller side. The current code was assuming that there would be an interface when calling these kinds of function. This is not entirely correct, for scalar character function, the result type may be explicitly defined while the rest of the function interface is still implicit. Support this case by relaxing an assert and avoid requiring result symbol mapping if there is no interface (and hence no mapping to do with a result symbol belonging to an interface).
Extended Description
Regression/CodeGen/X86/xmm-r64.ll has regressed:
$ llvm/Debug/bin/llvm-as <
/home/nicholas/llvm-commit/test/Regression/CodeGen/X86/xmm-r64.ll |
llvm/Debug/bin/llc -march=x86-64
Warning: Generation of 64-bit code for a 32-bit processor requested.
llc: SelectionDAGISel.cpp:1775: void
llvm::SelectionDAGLowering::visitTargetIntrinsic(llvm::CallInst&, unsigned int):
Assertion `TLI.isTypeLegal(Op.getValueType()) && "Intrinsic uses a non-legal
type?"' failed.
llvm/Debug/bin/llc((anonymous namespace)::PrintStackTrace()+0x1a)[0x8814248]
llvm/Debug/bin/llc((anonymous namespace)::SignalHandler(int)+0x110)[0x881450c]
[0xffffe500]
Aborted
Not bugpointing because it's already a reduced testcase.
The text was updated successfully, but these errors were encountered: