[all-commits] [llvm/llvm-project] bd1f7c: AMDGPU: Try to push fneg as integer into select
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Sun Mar 5 14:53:30 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bd1f7c417fc04f93de6b7bbf8740351e58a90613
https://github.com/llvm/llvm-project/commit/bd1f7c417fc04f93de6b7bbf8740351e58a90613
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2023-03-05 (Sun, 05 Mar 2023)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/fneg-modifier-casting.ll
Log Message:
-----------
AMDGPU: Try to push fneg as integer into select
I initially attempted to select the source modifier from xor of
a sign mask. This proved to be more difficult since
foldBinOpIntoSelect does not consider free fneg of integers
and undoes the combine.
More information about the All-commits
mailing list