summaryrefslogtreecommitdiffstats
path: root/clang/test/Misc/diag-template-diffing.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-12-18 23:21:49 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-12-18 23:21:49 +0000
commitd742533dbc43f54798becb48ed7d3a2d97cf8150 (patch)
treea00a722b2af872c00555326077674bef7e3de4af /clang/test/Misc/diag-template-diffing.cpp
parent1cd71a771cbec872ea820f9226bcffb73c99efe8 (diff)
downloadbcm5719-llvm-d742533dbc43f54798becb48ed7d3a2d97cf8150.tar.gz
bcm5719-llvm-d742533dbc43f54798becb48ed7d3a2d97cf8150.zip
Use bidirectional bundle flags to simplify important functions.
The bundle_iterator::operator++ function now doesn't need to dig out the basic block and check against end(). It can use the isBundledWithSucc() flag to find the last bundled instruction safely. Similarly, MachineInstr::isBundled() no longer needs to look at iterators etc. It only has to look at flags. llvm-svn: 170473
Diffstat (limited to 'clang/test/Misc/diag-template-diffing.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud