[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp X86ISelLowering.h X86InstrBuilder.h X86InstrInfo.h X86JITInfo.cpp X86Relocations.h
Chris Lattner
lattner at cs.uiuc.edu
Wed May 24 10:04:34 PDT 2006
Changes in directory llvm/lib/Target/X86:
X86ISelDAGToDAG.cpp updated: 1.66 -> 1.67
X86ISelLowering.h updated: 1.64 -> 1.65
X86InstrBuilder.h updated: 1.20 -> 1.21
X86InstrInfo.h updated: 1.51 -> 1.52
X86JITInfo.cpp updated: 1.18 -> 1.19
X86Relocations.h updated: 1.2 -> 1.3
---
Log message:
Patches to make the LLVM sources more -pedantic clean. Patch provided
by Anton Korobeynikov! This is a step towards closing PR786: http://llvm.cs.uiuc.edu/PR786 .
---
Diffs of the changes: (+6 -6)
X86ISelDAGToDAG.cpp | 2 +-
X86ISelLowering.h | 2 +-
X86InstrBuilder.h | 2 +-
X86InstrInfo.h | 2 +-
X86JITInfo.cpp | 2 +-
X86Relocations.h | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
Index: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
diff -u llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.66 llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.67
--- llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.66 Sun May 21 01:28:50 2006
+++ llvm/lib/Target/X86/X86ISelDAGToDAG.cpp Wed May 24 12:04:04 2006
@@ -47,7 +47,7 @@
struct X86ISelAddressMode {
enum {
RegBase,
- FrameIndexBase,
+ FrameIndexBase
} BaseType;
struct { // This is really a union, discriminated by BaseType!
Index: llvm/lib/Target/X86/X86ISelLowering.h
diff -u llvm/lib/Target/X86/X86ISelLowering.h:1.64 llvm/lib/Target/X86/X86ISelLowering.h:1.65
--- llvm/lib/Target/X86/X86ISelLowering.h:1.64 Tue May 23 16:06:34 2006
+++ llvm/lib/Target/X86/X86ISelLowering.h Wed May 24 12:04:04 2006
@@ -156,7 +156,7 @@
/// PINSRW - Insert the lower 16-bits of a 32-bit value to a vector,
/// corresponds to X86::PINSRW.
- PINSRW,
+ PINSRW
};
// X86 specific condition code. These correspond to X86_*_COND in
Index: llvm/lib/Target/X86/X86InstrBuilder.h
diff -u llvm/lib/Target/X86/X86InstrBuilder.h:1.20 llvm/lib/Target/X86/X86InstrBuilder.h:1.21
--- llvm/lib/Target/X86/X86InstrBuilder.h:1.20 Thu May 4 13:16:01 2006
+++ llvm/lib/Target/X86/X86InstrBuilder.h Wed May 24 12:04:04 2006
@@ -35,7 +35,7 @@
struct X86AddressMode {
enum {
RegBase,
- FrameIndexBase,
+ FrameIndexBase
} BaseType;
union {
Index: llvm/lib/Target/X86/X86InstrInfo.h
diff -u llvm/lib/Target/X86/X86InstrInfo.h:1.51 llvm/lib/Target/X86/X86InstrInfo.h:1.52
--- llvm/lib/Target/X86/X86InstrInfo.h:1.51 Thu May 18 01:27:15 2006
+++ llvm/lib/Target/X86/X86InstrInfo.h Wed May 24 12:04:04 2006
@@ -162,7 +162,7 @@
SpecialFP = 7 << FPTypeShift,
OpcodeShift = 16,
- OpcodeMask = 0xFF << OpcodeShift,
+ OpcodeMask = 0xFF << OpcodeShift
// Bits 25 -> 31 are unused
};
}
Index: llvm/lib/Target/X86/X86JITInfo.cpp
diff -u llvm/lib/Target/X86/X86JITInfo.cpp:1.18 llvm/lib/Target/X86/X86JITInfo.cpp:1.19
--- llvm/lib/Target/X86/X86JITInfo.cpp:1.18 Tue May 2 14:14:47 2006
+++ llvm/lib/Target/X86/X86JITInfo.cpp Wed May 24 12:04:04 2006
@@ -167,7 +167,7 @@
}
void *X86JITInfo::emitFunctionStub(void *Fn, MachineCodeEmitter &MCE) {
- if (Fn != X86CompilationCallback) {
+ if (Fn != (void*)X86CompilationCallback) {
MCE.startFunctionStub(5);
MCE.emitByte(0xE9);
MCE.emitWordLE((intptr_t)Fn-MCE.getCurrentPCValue()-4);
Index: llvm/lib/Target/X86/X86Relocations.h
diff -u llvm/lib/Target/X86/X86Relocations.h:1.2 llvm/lib/Target/X86/X86Relocations.h:1.3
--- llvm/lib/Target/X86/X86Relocations.h:1.2 Thu Apr 21 18:38:14 2005
+++ llvm/lib/Target/X86/X86Relocations.h Wed May 24 12:04:04 2006
@@ -25,7 +25,7 @@
// reloc_absolute_word - Absolute relocation, just add the relocated value
// to the value already in memory.
- reloc_absolute_word = 1,
+ reloc_absolute_word = 1
};
}
}
More information about the llvm-commits
mailing list