[all-commits] [llvm/llvm-project] 16a595: [Attributor] Avoid use of ConstantExpr::getFPTrunc...

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


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

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp

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

Use the constant folding API instead. For simplificity I'm using
the DL-independent API here.




More information about the All-commits mailing list