diff options
author | Sam Parker <sam.parker@arm.com> | 2020-06-08 09:11:08 +0100 |
---|---|---|
committer | Sam Parker <sam.parker@arm.com> | 2020-06-08 09:13:37 +0100 |
commit | 772349de887839add823af70b0cdb37f3b47fbc3 (patch) | |
tree | 9516b0c651f8bee9b6cbf58b2c0c29fde1b13428 /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | 68a8336bf2fa973866b3b644d88605ba5bf04785 (diff) | |
download | llvm-772349de887839add823af70b0cdb37f3b47fbc3.zip llvm-772349de887839add823af70b0cdb37f3b47fbc3.tar.gz llvm-772349de887839add823af70b0cdb37f3b47fbc3.tar.bz2 |
[PPC] Try to fix builbots
Attempt to handle unsupported types, such as structs, in
getMemoryOpCost. The backend now checks for a supported type and
calls into BasicTTI as a fallback. BasicTTI will now also perform
the same check and will default to an expensive cost of 4 for 'Other'
MVTs.
Differential Revision: https://reviews.llvm.org/D80984
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions