[all-commits] [llvm/llvm-project] e9a86b: [DAG] foldBinOpIntoSelect - remove !CanFoldNonCons...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Mon Mar 20 04:14:31 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e9a86b7813aa324f282d66ff711d71f1d0d31492
https://github.com/llvm/llvm-project/commit/e9a86b7813aa324f282d66ff711d71f1d0d31492
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2023-03-20 (Mon, 20 Mar 2023)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG] foldBinOpIntoSelect - remove !CanFoldNonConst check. NFC.
These checks are in an if-else chain where CanFoldNonConst is already guaranteed to be false.
Commit: 2d4042f4b78ebd4303f558c01b67f8ecabfe47e6
https://github.com/llvm/llvm-project/commit/2d4042f4b78ebd4303f558c01b67f8ecabfe47e6
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2023-03-20 (Mon, 20 Mar 2023)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG] visitTRUNCATE - use FoldConstantArithmetic to perform constant folding.
Avoid needing to perform extra isConstantIntBuildVectorOrConstantInt checks
Compare: https://github.com/llvm/llvm-project/compare/e62d0e1520e9...2d4042f4b78e
More information about the All-commits
mailing list