[all-commits] [llvm/llvm-project] 1a1a5e: [SDAG] Avoid use of ConstantExpr::getFPTrunc() (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Nov 6 06:55:42 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a1a5ec7566c23f080530e45e29d6cffa33b6020
      https://github.com/llvm/llvm-project/commit/1a1a5ec7566c23f080530e45e29d6cffa33b6020
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-11-06 (Mon, 06 Nov 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

  Log Message:
  -----------
  [SDAG] Avoid use of ConstantExpr::getFPTrunc() (NFC)

Use the constant folding API instead. As we're working on
ConstantFP, it is guaranteed to succeed.




More information about the All-commits mailing list