[llvm-bugs] [Bug 27440] New: Binary built with `-flto` errors on ARM
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Apr 20 10:20:01 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=27440
Bug ID: 27440
Summary: Binary built with `-flto` errors on ARM
Product: tools
Version: 3.8
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: TableGen
Assignee: unassignedbugs at nondot.org
Reporter: tulipawn at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Even though I could probably point to the cause of the problem, namely building
with gcc 5.3.0 and -flto, it's still possible the newer gcc has exposed a bug
in tblgen:
llvm[4]: Building PPC.td instruction information with tblgen
/arm-unknown-linux-gnueabihf/llvm/Release/bin/llvm-tblgen -I
/src/llvm/lib/Target/PowerPC -I /src/llvm/include -I /src/llvm/include -I
/src/llvm/lib/Target -gen-instr-info -o
/arm-unknown-linux-gnueabihf/llvm/lib/Target/PowerPC/Release/PPCGenInstrInfo.inc.tmp
/src/llvm/lib/Target/PowerPC/PPC.td
Included from /src/llvm/lib/Target/PowerPC/PPC.td:253:
Included from /src/llvm/lib/Target/PowerPC/PPCInstrInfo.td:2817:
/src/llvm/lib/Target/PowerPC/PPCInstrHTM.td:96:1: error: pattern has side
effects, but hasSideEffects isn't set on the output instructions
def : Pat<(int_ppc_tbegin i32:$R),
^
Included from /src/llvm/lib/Target/PowerPC/PPC.td:253:
/src/llvm/lib/Target/PowerPC/PPCInstrInfo.td:1928:1: error: defined here
def XORI : DForm_4<26, (outs gprc:$dst), (ins gprc:$src1, u16imm:$src2),
^
Included from /src/llvm/lib/Target/PowerPC/PPC.td:16:
/src/llvm/include/llvm/Target/Target.td:798:1: error: defined here
def EXTRACT_SUBREG : Instruction {
^
Included from /src/llvm/lib/Target/PowerPC/PPC.td:253:
Included from /src/llvm/lib/Target/PowerPC/PPCInstrInfo.td:2814:
/src/llvm/lib/Target/PowerPC/PPCInstr64Bit.td:1157:1: error: inferred from
pattern
def : Pat<(i32 (trunc i64:$in)),
^
Included from /src/llvm/lib/Target/PowerPC/PPC.td:253:
Included from /src/llvm/lib/Target/PowerPC/PPCInstrInfo.td:2817:
/src/llvm/lib/Target/PowerPC/PPCInstrHTM.td:30:1: error: defined here
def TBEGIN : XForm_htm0 <31, 654,
^
error:Errors in DAG patterns
--
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/20160420/387c3a6b/attachment.html>
More information about the llvm-bugs
mailing list