summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-04-15 19:11:24 +0000
committerCraig Topper <craig.topper@intel.com>2018-04-15 19:11:24 +0000
commit53f9558903beb2d31d2be3c760e8ac5eb45fd321 (patch)
tree54bfc156d1f2ea1c6b41f9ab7ceb4c312239cd5c /llvm/lib/Target
parentf84bfb2147e404e7bddb4eb0cd701f2b35b1b80f (diff)
downloadbcm5719-llvm-53f9558903beb2d31d2be3c760e8ac5eb45fd321.tar.gz
bcm5719-llvm-53f9558903beb2d31d2be3c760e8ac5eb45fd321.zip
[X86] Use uint32_t instead of unsigned in GetLo32XForm for readability. NFC
GetLo8XForm right next to it uses uint8_t so uint32_t is consistent. llvm-svn: 330104
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/X86/X86InstrCompiler.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86InstrCompiler.td b/llvm/lib/Target/X86/X86InstrCompiler.td
index d795dce10fd..e455349e0d8 100644
--- 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((unsigned)N->getZExtValue(), SDLoc(N));
+ return getI32Imm((uint32_t)N->getZExtValue(), SDLoc(N));
}]>;
def GetLo8XForm : SDNodeXForm<imm, [{
OpenPOWER on IntegriCloud