aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-11-20 09:30:40 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-11-20 09:30:40 +0000
commit20df3953d33058b20c93b66d138760c7369123b0 (patch)
tree366b33f770720e738c2bfec03814237df1a99718 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parente79761df73753d9c3bc563c78ecd1090b80b6085 (diff)
downloadllvm-20df3953d33058b20c93b66d138760c7369123b0.zip
llvm-20df3953d33058b20c93b66d138760c7369123b0.tar.gz
llvm-20df3953d33058b20c93b66d138760c7369123b0.tar.bz2
Add some comments to the latest test case I added here to document what
is actually being tested. Also add some FileCheck goodness to much more carefully ensure that the result is the desired result. Before this test would only have failed through an assert failure if the underlying fix were reverted. Also, add some weight metadata and a comment explaining exactly what is going on to a trick section of the test case. Originally, we were getting very unlucky and trying to form a block chain that isn't actually profitable. I'm working on a fix to avoid forming these unprofitable chains, and that would also have masked any failure from this test case. The easy solution is to add some metadata that makes it *really* profitable to form the bad chain here. llvm-svn: 145006
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions