[all-commits] [llvm/llvm-project] 13f38c: [LLVM][SelectionDAG] Align poison/undef binop fold...
Paul Walker via All-commits
all-commits at lists.llvm.org
Wed Jul 30 03:20:51 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 13f38c97d597f3b07fb674d9b8c2b1db2bc0724f
https://github.com/llvm/llvm-project/commit/13f38c97d597f3b07fb674d9b8c2b1db2bc0724f
Author: Paul Walker <paul.walker at arm.com>
Date: 2025-07-30 (Wed, 30 Jul 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/AArch64/combine-and-like.ll
M llvm/test/CodeGen/AMDGPU/saddsat.ll
M llvm/test/CodeGen/AMDGPU/uaddsat.ll
M llvm/test/CodeGen/AMDGPU/vector-reduce-smax.ll
M llvm/test/CodeGen/AMDGPU/vector-reduce-smin.ll
M llvm/test/CodeGen/AMDGPU/vector-reduce-umax.ll
M llvm/test/CodeGen/AMDGPU/vector-reduce-umin.ll
M llvm/test/CodeGen/X86/combine-add-ssat.ll
M llvm/test/CodeGen/X86/combine-add-usat.ll
M llvm/test/CodeGen/X86/combine-sub-ssat.ll
M llvm/test/CodeGen/X86/combine-sub-usat.ll
M llvm/test/CodeGen/X86/load-combine.ll
M llvm/test/CodeGen/X86/pr33960.ll
M llvm/unittests/CodeGen/CMakeLists.txt
M llvm/unittests/CodeGen/SelectionDAGAddressAnalysisTest.cpp
A llvm/unittests/CodeGen/SelectionDAGNodeConstructionTest.cpp
M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
A llvm/unittests/CodeGen/SelectionDAGTestBase.h
Log Message:
-----------
[LLVM][SelectionDAG] Align poison/undef binop folds with IR. (#149334)
The "at construction" binop folds in SelectionDAG::getNode() has
different behaviour when compared to the equivalent LLVM IR. This PR
makes the behaviour consistent while also extending the coverage to
include signed/unsigned max/min operations.
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