aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2020-02-04 09:25:01 +0000
committerDavid Green <david.green@arm.com>2020-02-04 09:36:59 +0000
commit362d00e0510ee75750499e2993a782428e377215 (patch)
treee1eff964bf29c51e3f9a951abb62c31503162410 /llvm/lib/CodeGen/MachineFunction.cpp
parentb8144c053620c2c8b3d100815f806004970ed936 (diff)
downloadllvm-362d00e0510ee75750499e2993a782428e377215.zip
llvm-362d00e0510ee75750499e2993a782428e377215.tar.gz
llvm-362d00e0510ee75750499e2993a782428e377215.tar.bz2
[ARM][VecReduce] Force expand vector_reduce_fmin
Under MVE, we do not have any lowering for fminimum, which a vector_reduce_fmin without NoNan will be expanded into. As with the other recent patches, force this to expand in the pre-isel pass. Note that Neon lowering would be OK because the scalar fminimum uses the vector VMIN instruction, but is probably better to just rely on the scalar operations, which is what is done here. Also fixes what appears to be the reversal of INF vs -INF in the vector_reduce_fmin widening code.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions