aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2016-12-18 07:54:23 +0000
committerCraig Topper <craig.topper@gmail.com>2016-12-18 07:54:23 +0000
commit7029db0eaa2255ea223dc49eedd82b2431da2d50 (patch)
tree6da2ce3b794321db6fee623994ca6289e4daeca7 /llvm/utils/FileCheck/FileCheck.cpp
parentc9318c6cf2104c5caa3d063f046121b9fdfb2728 (diff)
downloadllvm-7029db0eaa2255ea223dc49eedd82b2431da2d50.zip
llvm-7029db0eaa2255ea223dc49eedd82b2431da2d50.tar.gz
llvm-7029db0eaa2255ea223dc49eedd82b2431da2d50.tar.bz2
[X86][SSE][AVX-512] Convert FAND/FOR/FXOR/FANDN nodes to integer operations if they are available. This will allow a bunch of patterns to be removed.
These nodes are only emitted for lowering FABS/FNEG/FNABS/FCOPYSIGN. Ideally we just wouldn't create these nodes if SSE2 or higher is available, but it was simple to just convert them in DAG combine. For SSE2, AVX, and AVX512 with DQI this is no functional change as the execution domain fixing pass ensures the right domain is selected regardless of the ISD opcode. For AVX-512 without DQI we end up using integer instructions since the floating point versions aren't available. But we were already doing that for any logical operations in code that didn't come from FABS/FNEG/FNABS/FCOPYSIGN so this seems no worse. And we get the benefit of being able to fold broadcasts now. llvm-svn: 290060
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions