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

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


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 88e17a8e9b49bfbcfc1fa70f867b5b56a7a64fc7
      https://github.com/llvm/llvm-project/commit/88e17a8e9b49bfbcfc1fa70f867b5b56a7a64fc7
  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

(cherry picked from commit 2508ef014e8b01006de4e5ee6fd451d1f68d550f)




More information about the All-commits mailing list