summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CoverageMappingFormat.rst
diff options
context:
space:
mode:
authorDylan McKay <me@dylanmckay.io>2019-01-20 03:41:08 +0000
committerDylan McKay <me@dylanmckay.io>2019-01-20 03:41:08 +0000
commit6afef286d92eb37798928d01bfe6139f005e5c38 (patch)
tree89280f554f8286967baa5b339dc391027778657f /llvm/docs/CoverageMappingFormat.rst
parent52846ab09a02280f8e79aa56bac557ae36255e5d (diff)
downloadbcm5719-llvm-6afef286d92eb37798928d01bfe6139f005e5c38.tar.gz
bcm5719-llvm-6afef286d92eb37798928d01bfe6139f005e5c38.zip
[AVR] Fix codegen bug in 16-bit loads
Prior to this patch, the AVR::LDWRdPtr instruction was always lowered to instructions of this pattern: ld $GPR8, [PTR:XYZ]+ ld $GPR8, [PTR]+1 This has a problem; the [PTR] is incremented in-place once, but never decremented. Future uses of the same pointer will use the now clobbered value, leading to the pointer being incorrect by an offset of one. This patch modifies the expansion code of the LDWRdPtr pseudo instruction so that the pointer variable is not silently clobbered in future uses in the same live range. Bug first reported by Keshav Kini. Patch by Kaushik Phatak. llvm-svn: 351673
Diffstat (limited to 'llvm/docs/CoverageMappingFormat.rst')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud