[all-commits] [llvm/llvm-project] 800d22: [BasicTTI] Remove unused support for multiple opco...
Philip Reames via All-commits
all-commits at lists.llvm.org
Mon Jun 13 18:29:16 PDT 2022
Author: Philip Reames <preames at rivosinc.com>
Date: 2022-06-13 (Mon, 13 Jun 2022)
[BasicTTI] Remove unused support for multiple opcodes in getTypeBasedIntrinsicInstrCost [nfc]
ISDs only ever contains a single ISD opcode. We can simplify the code under this assumption. The code being removed was added back in 2016 in 0f26b0aeb4a91 to support FMAXNAN/FMINNAN, but at some point since then the motivating case was rewritten not to use the ISDs mechanism. No reason to keep the false generality around now.
More information about the All-commits