aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-05-12 01:17:38 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-05-12 01:17:38 +0000
commite0aa414acf9bb455376df4579e244dcca1434e1f (patch)
tree8104efd7ced9cab63a9c566a3dcf0fe886eb3756 /clang/unittests/Basic/VirtualFileSystemTest.cpp
parentfe7bba4ee416ffcc1a5439700b230aa94c106957 (diff)
downloadllvm-e0aa414acf9bb455376df4579e244dcca1434e1f.zip
llvm-e0aa414acf9bb455376df4579e244dcca1434e1f.tar.gz
llvm-e0aa414acf9bb455376df4579e244dcca1434e1f.tar.bz2
All llvm.deoptimize declarations must use the same calling convention
This new verifier rule lets us unambigously pick a calling convention when creating a new declaration for `@llvm.experimental.deoptimize.<ty>`. It is also congruent with our lowering strategy -- since all calls to `@llvm.experimental.deoptimize` are lowered to calls to `__llvm_deoptimize`, it is reasonable to enforce a unique calling convention. Some of the tests that were breaking this verifier rule have had to be split up into different .ll files. The inliner was violating this rule as well, and has been fixed to avoid producing invalid IR. llvm-svn: 269261
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions