diff options
author | Nikita Popov <npopov@redhat.com> | 2025-08-14 10:01:07 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2025-08-14 10:04:56 +0200 |
commit | d1952baa5d6f2416a18e018f52a5d05a9cc3916c (patch) | |
tree | 335687e21cb887b4a22f5db4cc7b91204a7d7d51 /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | |
parent | 01fac67e2a033c4637f4eab7dbe5156cd295b1f0 (diff) | |
download | llvm-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.cpp | 2 |
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); |