[llvm] r330104 - [X86] Use uint32_t instead of unsigned in GetLo32XForm for readability. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 15 12:11:24 PDT 2018
Author: ctopper
Date: Sun Apr 15 12:11:24 2018
New Revision: 330104
URL: http://llvm.org/viewvc/llvm-project?rev=330104&view=rev
Log:
[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.
Modified:
llvm/trunk/lib/Target/X86/X86InstrCompiler.td
Modified: llvm/trunk/lib/Target/X86/X86InstrCompiler.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrCompiler.td?rev=330104&r1=330103&r2=330104&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrCompiler.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrCompiler.td Sun Apr 15 12:11:24 2018
@@ -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, [{
More information about the llvm-commits
mailing list