diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-11-02 20:56:25 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-11-02 20:56:25 +0000 |
commit | 173192fa71a45ee87479c0eb7753bf116bce36b8 (patch) | |
tree | 9f8d693fc80e3d0715dc84375f32f302df9c220b /test/CodeGen | |
parent | 986f29c7bac9957d5643e5eb4ce5e346872dc5b4 (diff) | |
download | external_llvm-173192fa71a45ee87479c0eb7753bf116bce36b8.zip external_llvm-173192fa71a45ee87479c0eb7753bf116bce36b8.tar.gz external_llvm-173192fa71a45ee87479c0eb7753bf116bce36b8.tar.bz2 |
[mips] Delete MipsFunctionInfo::EmitNOAT. Unconditionally print directive
"set .noat" so that the assembler doesn't issue warnings when register $AT is
used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167310 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/Mips/check-noat.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/Mips/check-noat.ll b/test/CodeGen/Mips/check-noat.ll new file mode 100644 index 0000000..bfeff67 --- /dev/null +++ b/test/CodeGen/Mips/check-noat.ll @@ -0,0 +1,11 @@ +; RUN: llc -march=mipsel < %s | FileCheck %s + +define void @f() nounwind readnone { +entry: +; CHECK: f: +; CHECK: .set noat +; CHECK: .set at + + ret void +} + |