diff options
author | Hal Finkel <hfinkel@anl.gov> | 2014-04-14 05:59:09 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2014-04-14 05:59:09 +0000 |
commit | 1aee811d7183da0982360e04bad2170c9dc0bfd8 (patch) | |
tree | 9e99d692ae9b94d22a333641cffbe8cac82c7b6d /include | |
parent | 17f9c2e35b0f0caa44a7674347886de7c5bd05aa (diff) | |
download | llvm-1aee811d7183da0982360e04bad2170c9dc0bfd8.tar.gz llvm-1aee811d7183da0982360e04bad2170c9dc0bfd8.tar.bz2 llvm-1aee811d7183da0982360e04bad2170c9dc0bfd8.tar.xz |
Don't assert in BasicTTI::getMemoryOpCost for non-simple types
BasicTTI::getMemoryOpCost must explicitly check for non-simple types; setting
AllowUnknown=true with TLI->getSimpleValueType is not sufficient because, for
example, non-power-of-two vector types return non-simple EVTs (not MVT::Other).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206150 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions