[all-commits] [llvm/llvm-project] 2508ef: [SelectionDAG] Remove unused FP constant in getNeg...

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Tue Sep 15 03:04:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2508ef014e8b01006de4e5ee6fd451d1f68d550f
      https://github.com/llvm/llvm-project/commit/2508ef014e8b01006de4e5ee6fd451d1f68d550f
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2020-09-15 (Tue, 15 Sep 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    A llvm/test/CodeGen/X86/pr47517.ll

  Log Message:
  -----------
  [SelectionDAG] Remove unused FP constant in getNegatedExpression

960cbc53 immediately removes nodes that won't be used to avoid
compilation time explosion. This patch adds the removal to constants to
fix PR47517.

Reviewed By: RKSimon, steven.zhang

Differential Revision: https://reviews.llvm.org/D87614




More information about the All-commits mailing list