[all-commits] [llvm/llvm-project] d7642b: [GlobalIsel] Combine select to integer minmax (sec...
Thorsten Schütt via All-commits
all-commits at lists.llvm.org
Thu Jan 11 00:50:47 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d7642b2200bdd7dc12f5fe1a840e1fd43b1bbd73
https://github.com/llvm/llvm-project/commit/d7642b2200bdd7dc12f5fe1a840e1fd43b1bbd73
Author: Thorsten Schütt <schuett at gmail.com>
Date: 2024-01-11 (Thu, 11 Jan 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/arm64-atomic.ll
M llvm/test/CodeGen/AArch64/GlobalISel/arm64-pcsections.ll
M llvm/test/CodeGen/AArch64/GlobalISel/combine-select.mir
Log Message:
-----------
[GlobalIsel] Combine select to integer minmax (second attempt). (#77520)
Instcombine canonicalizes selects to floating point and integer minmax.
This and the dag combiner canonicalize to floating point minmax. None of
them canonicalizes to integer minmax. On Neoverse V2 basic integer
arithmetic and integer minmax have the same costs.
More information about the All-commits
mailing list