[all-commits] [llvm/llvm-project] 1fa201: [SelectionDAG] Add check for BUILD_VECTOR in isKno...
petar-avramovic via All-commits
all-commits at lists.llvm.org
Mon Oct 3 03:48:55 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1fa2019828caec1172382009d5327c265427af57
https://github.com/llvm/llvm-project/commit/1fa2019828caec1172382009d5327c265427af57
Author: Petar Avramovic <Petar.Avramovic at amd.com>
Date: 2022-10-03 (Mon, 03 Oct 2022)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Log Message:
-----------
[SelectionDAG] Add check for BUILD_VECTOR in isKnownNeverNaN
Includes handling of constants with vector type in isKnownNeverNaN.
For AMDGPU results in not making fcanonicalize during legalization
for vector inputs to fmaxnum_ieee and fminnum_ieee. Does not affect
end result since there is a combine that eliminates fcanonicalize.
Differential Revision: https://reviews.llvm.org/D88573
More information about the All-commits
mailing list