diff options
| author | 2017-01-14 19:55:43 +0000 | |
|---|---|---|
| committer | 2017-01-14 19:55:43 +0000 | |
| commit | bd3306aecb3a15e8967143b8cdbbccf2b1b19b74 (patch) | |
| tree | 309a8132b44564b9e634c0da6815187ce8eab27c /gnu/llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp | |
| parent | killp -a should not kill the window if only one pane. (diff) | |
| download | wireguard-openbsd-bd3306aecb3a15e8967143b8cdbbccf2b1b19b74.tar.xz wireguard-openbsd-bd3306aecb3a15e8967143b8cdbbccf2b1b19b74.zip | |
Import LLVM 3.9.1 including clang and lld.
Diffstat (limited to 'gnu/llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp')
| -rw-r--r-- | gnu/llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gnu/llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp b/gnu/llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp index a9d2e888f4b..61ce48ecd04 100644 --- a/gnu/llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp +++ b/gnu/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: |
