diff options
| author | Craig Topper <craig.topper@gmail.com> | 2016-06-02 04:19:42 +0000 | 
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2016-06-02 04:19:42 +0000 | 
| commit | 6611188633b2f90e83d92f09ffa1e6edd976c00d (patch) | |
| tree | 040f7e0248ad49513953c252ca7430b2a35d88f8 /llvm/lib | |
| parent | 5bb9cda620b2f6e82cc492d97bd4f3f0f75eb3c3 (diff) | |
| download | bcm5719-llvm-6611188633b2f90e83d92f09ffa1e6edd976c00d.tar.gz bcm5719-llvm-6611188633b2f90e83d92f09ffa1e6edd976c00d.zip | |
[X86] Use uint16_t for a couple arrays of instruction opcodes. NFC
llvm-svn: 271480
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/X86/X86FastISel.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp index b5a000de631..fd4246fcfa9 100644 --- a/llvm/lib/Target/X86/X86FastISel.cpp +++ b/llvm/lib/Target/X86/X86FastISel.cpp @@ -2623,7 +2623,7 @@ bool X86FastISel::fastLowerIntrinsicCall(const IntrinsicInst *II) {      unsigned ResultReg = 0;      // Check if we have an immediate version.      if (const auto *CI = dyn_cast<ConstantInt>(RHS)) { -      static const unsigned Opc[2][4] = { +      static const uint16_t Opc[2][4] = {          { X86::INC8r, X86::INC16r, X86::INC32r, X86::INC64r },          { X86::DEC8r, X86::DEC16r, X86::DEC32r, X86::DEC64r }        }; @@ -2717,7 +2717,7 @@ bool X86FastISel::fastLowerIntrinsicCall(const IntrinsicInst *II) {      if (!isTypeLegal(RetTy, VT))        return false; -    static const unsigned CvtOpc[2][2][2] = { +    static const uint16_t CvtOpc[2][2][2] = {        { { X86::CVTTSS2SIrr,   X86::VCVTTSS2SIrr   },          { X86::CVTTSS2SI64rr, X86::VCVTTSS2SI64rr }  },        { { X86::CVTTSD2SIrr,   X86::VCVTTSD2SIrr   }, | 

