diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-06-25 18:18:27 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-06-25 18:18:27 +0000 |
commit | a57fc12ec929c6d762e68f53c0f9ae17be2e2d51 (patch) | |
tree | 5d3189b319c915d4e4f3fcdd50ff093c3ae59cea /clang/unittests/Tooling/TestVisitor.h | |
parent | eb49566447ba2ef4e9be32f32e896e3e1cee0b54 (diff) | |
download | bcm5719-llvm-a57fc12ec929c6d762e68f53c0f9ae17be2e2d51.tar.gz bcm5719-llvm-a57fc12ec929c6d762e68f53c0f9ae17be2e2d51.zip |
Enforce stricter liveness rules for PHIs.
Verify that all paths from the entry block to a virtual register read
pass through a def. Enable this check even when MRI->isSSA() is false.
Verify that the live range of a virtual register is live out of all
predecessor blocks, even for PHI-values.
This requires that PHIElimination sometimes inserts IMPLICIT_DEF
instruction in predecessor blocks.
llvm-svn: 159150
Diffstat (limited to 'clang/unittests/Tooling/TestVisitor.h')
0 files changed, 0 insertions, 0 deletions