Skip to content

Commit 0b8b0a1

Browse files
Addressed the review comments
1 parent f37c9af commit 0b8b0a1

File tree

1 file changed

+14
-20
lines changed

1 file changed

+14
-20
lines changed

llvm/test/CodeGen/X86/sqrt.ll renamed to llvm/test/CodeGen/X86/isel-sqrt.ll

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=-avx,+sse2 | FileCheck %s --check-prefix=SSE2
3-
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=-avx,+sse2 -fast-isel -fast-isel-abort=1 | FileCheck %s --check-prefix=SSE2
4-
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=-avx,+sse2 -global-isel -global-isel-abort=2 | FileCheck %s --check-prefix=SSE2
5-
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=-avx2,+avx | FileCheck %s --check-prefix=AVX
6-
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=-avx2,+avx -fast-isel -fast-isel-abort=1 | FileCheck %s --check-prefix=AVX
7-
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=-avx2,+avx -global-isel -global-isel-abort=2 | FileCheck %s --check-prefix=AVX
8-
; RUN: llc < %s -mtriple=i686-linux-gnu -fast-isel=1 | FileCheck %s --check-prefixes=X86,FASTISEL-X86
9-
; RUN: llc < %s -mtriple=i686-linux-gnu -global-isel=0 -fast-isel=0 | FileCheck %s --check-prefixes=X86,SDAG-X86
10-
; RUN: llc < %s -mtriple=i686-linux-gnu -global-isel -global-isel-abort=2 | FileCheck %s --check-prefixes=X86,GISEL-X86
2+
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=-avx,+sse2 | FileCheck %s --check-prefixes=X64,SSE2
3+
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=-avx,+sse2 -fast-isel | FileCheck %s --check-prefixes=X64,SSE2
4+
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=-avx,+sse2 -global-isel -global-isel-abort=2 | FileCheck %s --check-prefixes=X64,SSE2
5+
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=-avx2,+avx | FileCheck %s --check-prefixes=X64,AVX
6+
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=-avx2,+avx -fast-isel | FileCheck %s --check-prefixes=X64,AVX
7+
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=-avx2,+avx -global-isel -global-isel-abort=2 | FileCheck %s --check-prefixes=X64,AVX
8+
; RUN: llc < %s -mtriple=i686-linux-gnu -global-isel=0 -fast-isel=0 | FileCheck %s --check-prefixes=X86,SDAG-X86
9+
; RUN: llc < %s -mtriple=i686-linux-gnu -fast-isel | FileCheck %s --check-prefixes=X86,FASTISEL-X86
10+
; RUN: llc < %s -mtriple=i686-linux-gnu -global-isel -global-isel-abort=2 | FileCheck %s --check-prefixes=X86,GISEL-X86
1111

1212
define float @test_sqrt_f32(float %a) {
1313
; SSE2-LABEL: test_sqrt_f32:
@@ -52,17 +52,11 @@ define double @test_sqrt_f64(double %a) {
5252
declare double @llvm.sqrt.f64(double) nounwind readnone
5353

5454
define x86_fp80 @test_sqrt_f80(x86_fp80 %a) {
55-
; SSE2-LABEL: test_sqrt_f80:
56-
; SSE2: ## %bb.0:
57-
; SSE2-NEXT: fldt {{[0-9]+}}(%rsp)
58-
; SSE2-NEXT: fsqrt
59-
; SSE2-NEXT: retq
60-
;
61-
; AVX-LABEL: test_sqrt_f80:
62-
; AVX: ## %bb.0:
63-
; AVX-NEXT: fldt {{[0-9]+}}(%rsp)
64-
; AVX-NEXT: fsqrt
65-
; AVX-NEXT: retq
55+
; X64-LABEL: test_sqrt_f80:
56+
; X64: ## %bb.0:
57+
; X64-NEXT: fldt {{[0-9]+}}(%rsp)
58+
; X64-NEXT: fsqrt
59+
; X64-NEXT: retq
6660
;
6761
; X86-LABEL: test_sqrt_f80:
6862
; X86: # %bb.0:

0 commit comments

Comments
 (0)