[X86] Use uint32_t instead of unsigned in GetLo32XForm for readability. NFC
authorCraig Topper <craig.topper@intel.com>
Sun, 15 Apr 2018 19:11:24 +0000 (19:11 +0000)
committerCraig 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

index d795dce..e455349 100644 (file)
@@ -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, [{