diff options
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp b/llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp index a9d2e888f4b..61ce48ecd04 100644 --- a/llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp +++ b/llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp @@ -73,10 +73,7 @@ protected: DebugLoc DL = MI->getDebugLoc(); unsigned GPR3 = Is64Bit ? PPC::X3 : PPC::R3; unsigned Opc1, Opc2; - SmallVector<unsigned, 4> OrigRegs; - OrigRegs.push_back(OutReg); - OrigRegs.push_back(InReg); - OrigRegs.push_back(GPR3); + const unsigned OrigRegs[] = {OutReg, InReg, GPR3}; switch (MI->getOpcode()) { default: |