diff options
| author | Hal Finkel <hfinkel@anl.gov> | 2014-04-12 21:52:38 +0000 |
|---|---|---|
| committer | Hal Finkel <hfinkel@anl.gov> | 2014-04-12 21:52:38 +0000 |
| commit | f4c3a5601aefe2e6500ff4af394196da55203e52 (patch) | |
| tree | 185a843c721a38e499c364fce8f4da718503b1e2 /lib/Bitcode/Reader/BitcodeReader.h | |
| parent | df40801dff8bd5e6706fb47afab60e5442a7e518 (diff) | |
| download | llvm-f4c3a5601aefe2e6500ff4af394196da55203e52.tar.gz llvm-f4c3a5601aefe2e6500ff4af394196da55203e52.tar.bz2 llvm-f4c3a5601aefe2e6500ff4af394196da55203e52.tar.xz | |
[PowerPC] Implement some additional TLI callbacks
Add implementations of:
bool isLegalICmpImmediate(int64_t Imm) const
bool isLegalAddImmediate(int64_t Imm) const
bool isTruncateFree(Type *Ty1, Type *Ty2) const
bool isTruncateFree(EVT VT1, EVT VT2) const
bool shouldConvertConstantLoadToIntImm(const APInt &Imm, Type *Ty) const
Unfortunately, this regresses counter-register-based loop formation because
some of the loops now end up in forms were SE cannot compute loop counts.
However, nevertheless, the test-suite results favor committing:
SingleSource/Benchmarks/BenchmarkGame/puzzle: 26% speedup
MultiSource/Benchmarks/FreeBench/analyzer/analyzer: 21% speedup
MultiSource/Benchmarks/MiBench/automotive-susan/automotive-susan: 20% speedup
SingleSource/Benchmarks/Polybench/linear-algebra/kernels/trisolv/trisolv: 19% speedup
SingleSource/Benchmarks/Polybench/linear-algebra/kernels/gesummv/gesummv: 15% speedup
MultiSource/Benchmarks/FreeBench/pcompress2/pcompress2: 2% speedup
MultiSource/Benchmarks/VersaBench/bmm/bmm: 26% slowdown
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206120 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.h')
0 files changed, 0 insertions, 0 deletions
