diff options
| author | Hans Wennborg <hans@hanshq.net> | 2014-01-25 01:18:18 +0000 |
|---|---|---|
| committer | Hans Wennborg <hans@hanshq.net> | 2014-01-25 01:18:18 +0000 |
| commit | 4d67a2e85a39c798faf77e79076cde827c82c237 (patch) | |
| tree | 7aec992a93f2eb3a14f0998c4a755eb42d835fb0 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
| parent | 955231ddf6cbb54f0931b78eb6e9b3f18438b5d4 (diff) | |
| download | bcm5719-llvm-4d67a2e85a39c798faf77e79076cde827c82c237.tar.gz bcm5719-llvm-4d67a2e85a39c798faf77e79076cde827c82c237.zip | |
Revert "Add Constant Hoisting Pass" (r200034)
This commit caused -Woverloaded-virtual warnings. The two new
TargetTransformInfo::getIntImmCost functions were only added to the superclass,
and to the X86 subclass. The other targets were not updated, and the
warning highlighted this by pointing out that e.g. ARMTTI::getIntImmCost was
hiding the two new getIntImmCost variants.
We could pacify the warning by adding "using TargetTransformInfo::getIntImmCost"
to the various subclasses, or turning it off, but I suspect that it's wrong to
leave the functions unimplemnted in those targets. The default implementations
return TCC_Free, which I don't think is right e.g. for ARM.
llvm-svn: 200058
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions

