summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstrBundle.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2015-05-04 20:41:51 +0000
committerTim Northover <tnorthover@apple.com>2015-05-04 20:41:51 +0000
commit851ff69b42e690cd8e7500218e1b7107749035c5 (patch)
tree96dce06a5d07ee0f232925695b9c58050d076e82 /llvm/lib/CodeGen/MachineInstrBundle.cpp
parentb1225085012ad7fc8f45c3683a6220868273c284 (diff)
downloadbcm5719-llvm-851ff69b42e690cd8e7500218e1b7107749035c5.tar.gz
bcm5719-llvm-851ff69b42e690cd8e7500218e1b7107749035c5.zip
CodeGen: match up correct insertvalue indices when assessing tail calls.
When deciding whether a value comes from the aggregate or inserted value of an insertvalue instruction, we compare the indices against those of the location we're interested in. One of the lists needs reversing because the input data is backwards (so that modifications take place at the end of the SmallVector), but we were reversing both before leading to incorrect results. Should fix PR23408 llvm-svn: 236457
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstrBundle.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud