diff options
author | Hal Finkel <hfinkel@anl.gov> | 2016-09-07 21:38:22 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2016-09-07 21:38:22 +0000 |
commit | ac5803ba918eeb133b1a0665eaf0e430f714b4d1 (patch) | |
tree | e31abd2f48fd2834fa908a91515d80b6d08806bb /lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py | |
parent | 109f4f35095dece3a05c88f6a40a7ad6ad07951f (diff) | |
download | bcm5719-llvm-ac5803ba918eeb133b1a0665eaf0e430f714b4d1.tar.gz bcm5719-llvm-ac5803ba918eeb133b1a0665eaf0e430f714b4d1.zip |
[SimplifyCFG] Don't try to create metadata-valued PHIs
We can't create metadata-valued PHIs; don't try to do so when sinking.
I created a test case for this using the @llvm.type.test intrinsic, because it
takes a metadata parameter and does not have severe side effects (thus
SimplifyCFG is willing to otherwise sink it).
Previously, running the test case would crash with:
Invalid use of metadata!
%.sink = select i1 %flag, metadata <...>, metadata <0x4e45dc0>
LLVM ERROR: Broken function found, compilation aborted!
llvm-svn: 280866
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py')
0 files changed, 0 insertions, 0 deletions