summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2012-11-02 20:56:25 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2012-11-02 20:56:25 +0000
commit173192fa71a45ee87479c0eb7753bf116bce36b8 (patch)
tree9f8d693fc80e3d0715dc84375f32f302df9c220b /test
parent986f29c7bac9957d5643e5eb4ce5e346872dc5b4 (diff)
downloadllvm-173192fa71a45ee87479c0eb7753bf116bce36b8.tar.gz
llvm-173192fa71a45ee87479c0eb7753bf116bce36b8.tar.bz2
llvm-173192fa71a45ee87479c0eb7753bf116bce36b8.tar.xz
[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')
-rw-r--r--test/CodeGen/Mips/check-noat.ll11
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 0000000000..bfeff677b3
--- /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
+}
+