[llvm] r339276 - revert tests of '[CodeGen] emit inline asm clobber list warnings for reserved'
Ties Stuij via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 8 10:19:32 PDT 2018
Author: stuij
Date: Wed Aug 8 10:19:32 2018
New Revision: 339276
URL: http://llvm.org/viewvc/llvm-project?rev=339276&view=rev
Log:
revert tests of '[CodeGen] emit inline asm clobber list warnings for reserved'
Removed:
llvm/trunk/test/CodeGen/AArch64/inline-asm-clobber.ll
llvm/trunk/test/CodeGen/ARM/inline-asm-clobber.ll
llvm/trunk/test/CodeGen/X86/inline-asm-clobber.ll
Removed: llvm/trunk/test/CodeGen/AArch64/inline-asm-clobber.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/inline-asm-clobber.ll?rev=339275&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/AArch64/inline-asm-clobber.ll (original)
+++ llvm/trunk/test/CodeGen/AArch64/inline-asm-clobber.ll (removed)
@@ -1,8 +0,0 @@
-; RUN: llc <%s -mtriple=aarch64-none-eabi 2>&1 | FileCheck %s
-
-; CHECK: warning: inline asm clobber list contains reserved registers: SP
-
-define void @foo() nounwind {
- call void asm sideeffect "mov x7, #1", "~{x7},~{sp}"()
- ret void
-}
Removed: llvm/trunk/test/CodeGen/ARM/inline-asm-clobber.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/inline-asm-clobber.ll?rev=339275&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/inline-asm-clobber.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/inline-asm-clobber.ll (removed)
@@ -1,27 +0,0 @@
-; RUN: llc <%s -mtriple=arm-none-eabi 2>&1 | FileCheck %s -check-prefix=CHECK
-
-; RUN: llc <%s -mtriple=arm-none-eabi -relocation-model=rwpi 2>&1 \
-; RUN: | FileCheck %s -check-prefix=RWPI
-
-; RUN: llc <%s -mtriple=arm-none-eabi --disable-fp-elim 2>&1 \
-; RUN: | FileCheck %s -check-prefix=NO_FP_ELIM
-
-; CHECK: warning: inline asm clobber list contains reserved registers: SP, PC
-; CHECK: warning: inline asm clobber list contains reserved registers: R11
-; RWPI: warning: inline asm clobber list contains reserved registers: R9, SP, PC
-; RWPI: warning: inline asm clobber list contains reserved registers: R11
-; NO_FP_ELIM: warning: inline asm clobber list contains reserved registers: R11, SP, PC
-; NO_FP_ELIM: warning: inline asm clobber list contains reserved registers: R11
-
-define void @foo() nounwind {
- call void asm sideeffect "mov r7, #1",
- "~{r9},~{r11},~{r12},~{lr},~{sp},~{pc},~{r10}"()
- ret void
-}
-
-define i32 @bar(i32 %i) {
- %vla = alloca i32, i32 %i, align 4
- tail call void asm sideeffect "mov r7, #1", "~{r11}"()
- %1 = load volatile i32, i32* %vla, align 4
- ret i32 %1
-}
Removed: llvm/trunk/test/CodeGen/X86/inline-asm-clobber.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/inline-asm-clobber.ll?rev=339275&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/inline-asm-clobber.ll (original)
+++ llvm/trunk/test/CodeGen/X86/inline-asm-clobber.ll (removed)
@@ -1,8 +0,0 @@
-; RUN: llc <%s -mtriple=x86_64-unknown-unknown -- 2>&1 | FileCheck %s
-
-; CHECK: warning: inline asm clobber list contains reserved registers: RSP, EBP
-
-define void @foo() nounwind {
- call void asm sideeffect "mov $$0x12, %eax", "~{eax},~{rsp},~{esi},~{ebp}"()
- ret void
-}
More information about the llvm-commits
mailing list