[NFC][PowerPC] Update the test case scalar-equal.ll

Modify the command option to add --enable-no-nans-fp-math
This commit is contained in:
Kang Zhang 2020-02-17 08:34:56 +00:00
parent dd8a2013dc
commit f4e920720d
1 changed files with 6 additions and 7 deletions

View File

@ -1,12 +1,12 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc -mcpu=pwr8 -ppc-asm-full-reg-names --enable-unsafe-fp-math \
; RUN: -verify-machineinstrs --enable-no-signed-zeros-fp-math \
; RUN: --enable-no-nans-fp-math \
; RUN: --enable-no-nans-fp-math --enable-no-infs-fp-math \
; RUN: -mtriple=powerpc64le-unknown-unknown < %s | FileCheck %s \
; RUN: --check-prefix=FAST-P8
; RUN: llc -mcpu=pwr9 -ppc-asm-full-reg-names --enable-unsafe-fp-math \
; RUN: -verify-machineinstrs --enable-no-signed-zeros-fp-math \
; RUN: --enable-no-nans-fp-math \
; RUN: --enable-no-nans-fp-math --enable-no-infs-fp-math \
; RUN: -mtriple=powerpc64le-unknown-unknown < %s | FileCheck %s \
; RUN: --check-prefix=FAST-P9
; RUN: llc -mcpu=pwr9 -ppc-asm-full-reg-names -verify-machineinstrs \
@ -19,11 +19,10 @@
define double @testoeq(double %a, double %b, double %c, double %d) {
; FAST-P8-LABEL: testoeq:
; FAST-P8: # %bb.0: # %entry
; FAST-P8-NEXT: xscmpudp cr0, f1, f2
; FAST-P8-NEXT: fmr f1, f3
; FAST-P8-NEXT: beqlr cr0
; FAST-P8-NEXT: # %bb.1: # %entry
; FAST-P8-NEXT: fmr f1, f4
; FAST-P8-NEXT: xssubdp f0, f1, f2
; FAST-P8-NEXT: xsnegdp f1, f0
; FAST-P8-NEXT: fsel f0, f0, f3, f4
; FAST-P8-NEXT: fsel f1, f1, f0, f4
; FAST-P8-NEXT: blr
;
; FAST-P9-LABEL: testoeq: