aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2020-05-13 14:35:32 +0100
committerDavid Green <david.green@arm.com>2020-05-13 15:24:16 +0100
commitfa15255d8af53126bbcb017f2fb6f9961e8574df (patch)
tree70f59ccbc5a55e948d0981a986f6c5515b09c3ad /llvm/utils/FileCheck/FileCheck.cpp
parenta5d80818fa702876ced0e62bffcd24d3d9bf43b9 (diff)
downloadllvm-fa15255d8af53126bbcb017f2fb6f9961e8574df.zip
llvm-fa15255d8af53126bbcb017f2fb6f9961e8574df.tar.gz
llvm-fa15255d8af53126bbcb017f2fb6f9961e8574df.tar.bz2
[ARM] Convert floating point splats to integer
Under MVE a vdup will always take a gpr register, not a floating point value. During DAG combine we convert the types to a bitcast to an integer in an attempt to fold the bitcast into other instructions. This is OK, but only works inside the same basic block. To do the same trick across a basic block boundary we need to convert the type in codegenprepare, before the splat is sunk into the loop. This adds a convertSplatType function to codegenprepare to do that, putting bitcasts around the splat to force the type to an integer. There is then some adjustment to the code in shouldSinkOperands to handle the extra bitcasts. Differential Revision: https://reviews.llvm.org/D78728
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions