[LLVMbugs] [Bug 22560] New: fatal error: error in backend: Cannot select: intrinsic %llvm.arm.mcr
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Feb 11 21:47:53 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=22560
Bug ID: 22560
Summary: fatal error: error in backend: Cannot select:
intrinsic %llvm.arm.mcr
Product: clang
Version: 3.5
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: asg.msft at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Issue: When the first argument to _MoveToCoProcessor instrinsic is passed via a
parent function argument, it results in a compile error.
Compilation error: fatal error: error in backend: Cannot select: intrinsic
%llvm.arm.mcr
Clang Version:
clang version 3.5.0 (217039)
Target: armv7-none-linux-androideabi
Thread model: posix
Code (myfunc.cpp):
void MyFunc(const unsigned int x)
{
_MoveToCoprocessor(x, 2, 3, 4, 5, 6); // this doesn't compile
}
Compilation command:
%PATH%\clang++.exe -c myfunc.cpp -o myfunc.o -target
armv7-none-linux-androideabi -fms-extensions
The following code doesn't give a compile error:
const unsigned int x = 0; // this compiles fine
void MyFunc()
{
_MoveToCoprocessor(x, 2, 3, 4, 5, 6);
}
Thanks.
--
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/20150212/35607673/attachment.html>
More information about the llvm-bugs
mailing list