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: unassignedb...@nondot.org Reporter: tulip...@gmail.com CC: llvm-bugs@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.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs