Skip to content

Commit c2ae546

Browse files
committed
Update review to drop AssertNoFPClass when expanding.
1 parent 934e050 commit c2ae546

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1971,8 +1971,6 @@ void DAGTypeLegalizer::ExpandFloatRes_AssertNoFPClass(SDNode *N, SDValue &Lo,
19711971
SDValue &Hi) {
19721972
SDLoc dl(N);
19731973
GetExpandedFloat(N->getOperand(0), Lo, Hi);
1974-
Lo = DAG.getNode(ISD::AssertNoFPClass, dl, Lo.getValueType(), Lo);
1975-
Hi = DAG.getNode(ISD::AssertNoFPClass, dl, Hi.getValueType(), Hi);
19761974
}
19771975

19781976
void DAGTypeLegalizer::ExpandFloatRes_FP_EXTEND(SDNode *N, SDValue &Lo,

llvm/test/CodeGen/PowerPC/nofpclass.ll

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
2-
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu < %s \
3-
; RUN: | FileCheck %s
4-
; RUN: llc -verify-machineinstrs -mtriple=powerpc64-ibm-aix-xcoff < %s \
5-
; RUN: | FileCheck %s
2+
; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu < %s | FileCheck %s
3+
; RUN: llc -mtriple=powerpc64-ibm-aix-xcoff < %s | FileCheck %s
64

75
define ppc_fp128 @f(ppc_fp128 nofpclass(nan) %s) {
86
; CHECK-LABEL: f:

0 commit comments

Comments
 (0)