diff options
| author | Alex Bradbury <asb@lowrisc.org> | 2018-03-19 11:54:28 +0000 |
|---|---|---|
| committer | Alex Bradbury <asb@lowrisc.org> | 2018-03-19 11:54:28 +0000 |
| commit | 0171a9f4eca3fe562e94895e618b1312e2134fcf (patch) | |
| tree | 9ba62b86597d893a0e9866122d36802695eae8ed /llvm/lib/Target/TargetIntrinsicInfo.cpp | |
| parent | fa0217276a3dd30b745e8306f06c72a91a463ee2 (diff) | |
| download | bcm5719-llvm-0171a9f4eca3fe562e94895e618b1312e2134fcf.tar.gz bcm5719-llvm-0171a9f4eca3fe562e94895e618b1312e2134fcf.zip | |
[RISCV] Peephole optimisation for load/store of global values or constant addresses
(load (add base, off), 0) -> (load base, off)
(store val, (add base, off)) -> (store val, base, off)
This is similar to an equivalent peephole optimisation in PPCISelDAGToDAG.
llvm-svn: 327831
Diffstat (limited to 'llvm/lib/Target/TargetIntrinsicInfo.cpp')
0 files changed, 0 insertions, 0 deletions

