[all-commits] [llvm/llvm-project] c72992: [DAG] visitABS - use FoldConstantArithmetic to att...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Oct 18 02:11:19 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c72992bf897b22465b2c80343b1b4a5afd1508ef
      https://github.com/llvm/llvm-project/commit/c72992bf897b22465b2c80343b1b4a5afd1508ef
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-10-18 (Fri, 18 Oct 2024)

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

  Log Message:
  -----------
  [DAG] visitABS - use FoldConstantArithmetic to attempt to constant fold

Don't rely on isConstantFPBuildVectorOrConstantFP followed by getNode() will constant fold - FoldConstantArithmetic will do all of this for us.

Cleanup for #112682


  Commit: 7a43be1690e27ddf8813e49d93eb419d214fcd7a
      https://github.com/llvm/llvm-project/commit/7a43be1690e27ddf8813e49d93eb419d214fcd7a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-10-18 (Fri, 18 Oct 2024)

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

  Log Message:
  -----------
  [DAG] visitXROUND - use FoldConstantArithmetic to attempt to constant fold

Don't rely on isConstantFPBuildVectorOrConstantFP followed by getNode() will constant fold - FoldConstantArithmetic will do all of this for us.


  Commit: 3a1df05ca91fa6a0f893123ad08a46a443b0b486
      https://github.com/llvm/llvm-project/commit/3a1df05ca91fa6a0f893123ad08a46a443b0b486
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-10-18 (Fri, 18 Oct 2024)

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

  Log Message:
  -----------
  [DAG] visitFP_ROUND - use FoldConstantArithmetic to attempt to constant fold

Don't rely on isConstantFPBuildVectorOrConstantFP followed by getNode() will constant fold - FoldConstantArithmetic will do all of this for us.


  Commit: 3ec1b1a4dd52641c4b84cac55ef3a228960a0bdc
      https://github.com/llvm/llvm-project/commit/3ec1b1a4dd52641c4b84cac55ef3a228960a0bdc
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-10-18 (Fri, 18 Oct 2024)

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

  Log Message:
  -----------
  [DAG] visitFP_EXTEND - use FoldConstantArithmetic to attempt to constant fold

Don't rely on isConstantFPBuildVectorOrConstantFP followed by getNode() will constant fold - FoldConstantArithmetic will do all of this for us.


Compare: https://github.com/llvm/llvm-project/compare/2f792f6e7157...3ec1b1a4dd52

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list