projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f84bfb2
)
[X86] Use uint32_t instead of unsigned in GetLo32XForm for readability. NFC
author
Craig Topper
<craig.topper@intel.com>
Sun, 15 Apr 2018 19:11:24 +0000
(19:11 +0000)
committer
Craig Topper
<craig.topper@intel.com>
Sun, 15 Apr 2018 19:11:24 +0000
(19:11 +0000)
GetLo8XForm right next to it uses uint8_t so uint32_t is consistent.
llvm-svn: 330104
llvm/lib/Target/X86/X86InstrCompiler.td
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/X86/X86InstrCompiler.td
b/llvm/lib/Target/X86/X86InstrCompiler.td
index
d795dce
..
e455349
100644
(file)
--- a/
llvm/lib/Target/X86/X86InstrCompiler.td
+++ b/
llvm/lib/Target/X86/X86InstrCompiler.td
@@
-17,7
+17,7
@@
def GetLo32XForm : SDNodeXForm<imm, [{
// Transformation function: get the low 32 bits.
- return getI32Imm((u
nsigned
)N->getZExtValue(), SDLoc(N));
+ return getI32Imm((u
int32_t
)N->getZExtValue(), SDLoc(N));
}]>;
def GetLo8XForm : SDNodeXForm<imm, [{