diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-05-12 00:48:43 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-05-12 00:48:43 +0000 |
commit | 4147e4d054b62eb2ea8259db0385791ec23c460b (patch) | |
tree | 3eeb3aec4ec14367dee4cc26699a21243ced6e7f /test/CodeGen/Mips/global-pointer-reg.ll | |
parent | 774394c68abc88a0d49f207abc1d4da9bd0675b8 (diff) | |
download | external_llvm-4147e4d054b62eb2ea8259db0385791ec23c460b.zip external_llvm-4147e4d054b62eb2ea8259db0385791ec23c460b.tar.gz external_llvm-4147e4d054b62eb2ea8259db0385791ec23c460b.tar.bz2 |
Make the following changes in MipsAsmPrinter.cpp:
- Remove code which lowers pseudo SETGP01.
- Fix LowerSETGP01. The first two of the three instructions that are emitted to
initialize the global pointer register now use register $2.
- Stop emitting .cpload directive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156689 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Mips/global-pointer-reg.ll')
-rw-r--r-- | test/CodeGen/Mips/global-pointer-reg.ll | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/Mips/global-pointer-reg.ll b/test/CodeGen/Mips/global-pointer-reg.ll index 174d1f9..1c0eb01 100644 --- a/test/CodeGen/Mips/global-pointer-reg.ll +++ b/test/CodeGen/Mips/global-pointer-reg.ll @@ -1,4 +1,6 @@ -; RUN: llc < %s -march=mipsel -mips-fix-global-base-reg=false | FileCheck %s +; DISABLED: llc < %s -march=mipsel -mips-fix-global-base-reg=false | FileCheck %s +; RUN: false +; XFAIL: * @g0 = external global i32 @g1 = external global i32 |