[llvm] r244361 - redo r244360 (tighten checks...) after specifying triple
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 7 14:42:25 PDT 2015
Author: spatel
Date: Fri Aug 7 16:42:24 2015
New Revision: 244361
URL: http://llvm.org/viewvc/llvm-project?rev=244361&view=rev
Log:
redo r244360 (tighten checks...) after specifying triple
Modified:
llvm/trunk/test/CodeGen/X86/fdiv.ll
Modified: llvm/trunk/test/CodeGen/X86/fdiv.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/fdiv.ll?rev=244361&r1=244360&r2=244361&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/fdiv.ll (original)
+++ llvm/trunk/test/CodeGen/X86/fdiv.ll Fri Aug 7 16:42:24 2015
@@ -1,9 +1,9 @@
-; RUN: llc < %s -march=x86-64 -enable-unsafe-fp-math | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -enable-unsafe-fp-math | FileCheck %s
define double @exact(double %x) {
; Exact division by a constant converted to multiplication.
; CHECK-LABEL: exact:
-; CHECK: ## BB#0:
+; CHECK: # BB#0:
; CHECK-NEXT: mulsd {{.*}}(%rip), %xmm0
; CHECK-NEXT: retq
%div = fdiv double %x, 2.0
@@ -13,7 +13,7 @@ define double @exact(double %x) {
define double @inexact(double %x) {
; Inexact division by a constant converted to multiplication.
; CHECK-LABEL: inexact:
-; CHECK: ## BB#0:
+; CHECK: # BB#0:
; CHECK-NEXT: mulsd {{.*}}(%rip), %xmm0
; CHECK-NEXT: retq
%div = fdiv double %x, 0x41DFFFFFFFC00000
@@ -23,7 +23,7 @@ define double @inexact(double %x) {
define double @funky(double %x) {
; No conversion to multiplication if too funky.
; CHECK-LABEL: funky:
-; CHECK: ## BB#0:
+; CHECK: # BB#0:
; CHECK-NEXT: xorpd %xmm1, %xmm1
; CHECK-NEXT: divsd %xmm1, %xmm0
; CHECK-NEXT: retq
@@ -34,7 +34,7 @@ define double @funky(double %x) {
define double @denormal1(double %x) {
; Don't generate multiplication by a denormal.
; CHECK-LABEL: denormal1:
-; CHECK: ## BB#0:
+; CHECK: # BB#0:
; CHECK-NEXT: divsd {{.*}}(%rip), %xmm0
; CHECK-NEXT: retq
%div = fdiv double %x, 0x7FD0000000000001
@@ -44,7 +44,7 @@ define double @denormal1(double %x) {
define double @denormal2(double %x) {
; Don't generate multiplication by a denormal.
; CHECK-LABEL: denormal2:
-; CHECK: ## BB#0:
+; CHECK: # BB#0:
; CHECK-NEXT: divsd {{.*}}(%rip), %xmm0
; CHECK-NEXT: retq
%div = fdiv double %x, 0x7FEFFFFFFFFFFFFF
More information about the llvm-commits
mailing list