summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2015-11-21 21:42:26 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2015-11-21 21:42:26 +0000
commit2829c1cf7b21d003e30a214d2414cbdbd40417d1 (patch)
treeb12fcde876d207e247ecec03b75299943457f738 /llvm/lib/Bitcode
parentfb3fb0a309807c00de47a40e3aa91768bbdd0082 (diff)
downloadbcm5719-llvm-2829c1cf7b21d003e30a214d2414cbdbd40417d1.tar.gz
bcm5719-llvm-2829c1cf7b21d003e30a214d2414cbdbd40417d1.zip
[MachineInstrBuilder] Support for adding a ConstantPoolIndex MO with an additional offset.
MachineInstrBuilder::addDisp can already add an immediate or global address MO with an adjusted offset, this patch adds support for constant pool indices as well. All remaining MO types still assert - there are a number of other types that could support adjusted offsets but I have no test cases at this time. Required to fix a regression in D13988 found by Mikael Holmén during stress testing (test case attached). Differential Revision: http://reviews.llvm.org/D14867 llvm-svn: 253795
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud