summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-09-15 16:29:49 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-09-15 16:29:49 +0000
commitd98e6c9fb5b98b5b6c72007f54f593392e01fd8d (patch)
treed5e61bd49904d74e8a7c225043d53c5e2096642d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent2e6644c260e7477c75d9e882e52d6b2a625f3b20 (diff)
downloadbcm5719-llvm-d98e6c9fb5b98b5b6c72007f54f593392e01fd8d.tar.gz
bcm5719-llvm-d98e6c9fb5b98b5b6c72007f54f593392e01fd8d.zip
Make LiveRangeQuery work for PHIDefs as well.
If a PHI value happens to be live out from the layout predecessor of its def block, the def slot index will be in the middle of the segment: %vreg11 = [192r,240B:0)[352r,416B:2)[416B,496r:1) 0@192r 1@480B-phi %2@352r A LiveRangeQuery for 480 should return NULL from valueIn() since the PHI value is defined at the block entry, not live in to the block. No test case, future code depends on this functionality. llvm-svn: 163971
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud