diff options
| author | Davide Italiano <davide@freebsd.org> | 2017-09-01 19:54:08 +0000 |
|---|---|---|
| committer | Davide Italiano <davide@freebsd.org> | 2017-09-01 19:54:08 +0000 |
| commit | c36039f462a8270a69b64309810f537e4991bb1c (patch) | |
| tree | a48c0440847af7b7821248443c4dbc30263eda25 /llvm/lib/DebugInfo/PDB/Native/DbiModuleList.cpp | |
| parent | 07490f8415e1570be554b5858bf16469a77153cb (diff) | |
| download | bcm5719-llvm-c36039f462a8270a69b64309810f537e4991bb1c.tar.gz bcm5719-llvm-c36039f462a8270a69b64309810f537e4991bb1c.zip | |
[TTI] Fix getGEPCost() for geps with a single operand.
Previously this would sporadically crash as TargetType
was never initialized. We special-case the single-operand
case returning earlier and trying to mimic the behaviour of
isLegalAddressingMode as closely as possible.
Differential Revision: https://reviews.llvm.org/D37277
llvm-svn: 312357
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native/DbiModuleList.cpp')
0 files changed, 0 insertions, 0 deletions

