aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2025-08-14 10:01:07 +0200
committerNikita Popov <npopov@redhat.com>2025-08-14 10:04:56 +0200
commitd1952baa5d6f2416a18e018f52a5d05a9cc3916c (patch)
tree335687e21cb887b4a22f5db4cc7b91204a7d7d51 /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
parent01fac67e2a033c4637f4eab7dbe5156cd295b1f0 (diff)
downloadllvm-d1952baa5d6f2416a18e018f52a5d05a9cc3916c.zip
llvm-d1952baa5d6f2416a18e018f52a5d05a9cc3916c.tar.gz
llvm-d1952baa5d6f2416a18e018f52a5d05a9cc3916c.tar.bz2
[CodeGen] Remove unnecessary setTypeListBeforeSoften() parameter (NFC)
It does not make sense to set the softening type list without setting IsSoften=true.
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 8fbabfa..911bbab 100644
--- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -420,7 +420,7 @@ void TargetLowering::softenSetCCOperands(SelectionDAG &DAG, EVT VT,
TargetLowering::MakeLibCallOptions CallOptions;
EVT OpsVT[2] = { OldLHS.getValueType(),
OldRHS.getValueType() };
- CallOptions.setTypeListBeforeSoften(OpsVT, RetVT, true);
+ CallOptions.setTypeListBeforeSoften(OpsVT, RetVT);
auto Call = makeLibCall(DAG, LC1, RetVT, Ops, CallOptions, dl, Chain);
NewLHS = Call.first;
NewRHS = DAG.getConstant(0, dl, RetVT);