mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-26 23:26:19 +00:00
15 lines
703 B
Diff
15 lines
703 B
Diff
Index: llvm-toolchain-snapshot_10~svn372737/llvm/utils/TableGen/CodeEmitterGen.cpp
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_10~svn372737.orig/llvm/utils/TableGen/CodeEmitterGen.cpp
|
|
+++ llvm-toolchain-snapshot_10~svn372737/llvm/utils/TableGen/CodeEmitterGen.cpp
|
|
@@ -395,6 +395,9 @@ void CodeEmitterGen::run(raw_ostream &o)
|
|
ArrayRef<const CodeGenInstruction*> NumberedInstructions =
|
|
Target.getInstructionsByEnumValue();
|
|
|
|
+ o << "// Undef for HURD\n";
|
|
+ o << "#ifdef EIEIO\n#undef EIEIO\n#endif\n";
|
|
+
|
|
const CodeGenHwModes &HWM = Target.getHwModes();
|
|
// The set of HwModes used by instruction encodings.
|
|
std::set<unsigned> HwModes;
|