Description
Previous ID | SR-6813 |
Radar | None |
Original Reporter | @hpux735 |
Type | Bug |
Additional Detail from JIRA
Votes | 0 |
Component/s | Compiler |
Labels | Bug, armv7 |
Assignee | None |
Priority | Medium |
md5: 3fa4c23803f5dcaafdadeec6ac73a90a
Issue Description:
Beginning at LLVM 3.8, LLVM will generate NEON instructions regardless of whether the processor targeted supports these instructions.
According to this (otherwise unrelated) bug report, this should be fixed in LLVM 3.9, however, while building Swift on these platforms, LLVM 3.9 still generates illegal instructions.
[163/2690] Building AttributesCompatFunc.inc...
FAILED: cd /root/buildSwiftOnARM/build/buildbot_linux/llvm-linux-armv7/lib/IR && /root/buildSwiftOnARM/build/buildbot_li
nux/llvm-linux-armv7/bin/llvm-tblgen -gen-attrs -I /root/buildSwiftOnARM/llvm/lib/IR -I /root/buildSwiftOnARM/llvm/inclu
de /root/buildSwiftOnARM/llvm/lib/IR/AttributesCompatFunc.td -o /root/buildSwiftOnARM/build/buildbot_linux/llvm-linux-ar
mv7/lib/IR/AttributesCompatFunc.inc.tmp
Illegal instruction
I have a build system that exhibits this bug on "the cloud" and I will provide a username and password to anyone willing and able to help with this bug.