aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorArnold Schwaighofer <aschwaighofer@apple.com>2021-06-23 11:30:55 -0700
committerArnold Schwaighofer <aschwaighofer@apple.com>2021-06-28 09:37:45 -0700
commit3dee1e8a848d56178fc6013c343c1b144efb1425 (patch)
tree75ff2ea22663a9d6db381890f7b55b8e29017a36 /clang/lib/Frontend/CompilerInstance.cpp
parent918bb2a9782dc4906784b4f1ecd0f3011dfc38b4 (diff)
downloadllvm-3dee1e8a848d56178fc6013c343c1b144efb1425.zip
llvm-3dee1e8a848d56178fc6013c343c1b144efb1425.tar.gz
llvm-3dee1e8a848d56178fc6013c343c1b144efb1425.tar.bz2
[coro] Fix rematerializable instruction sinking to coro.suspend blocks
There is a constraint that coro.suspend instructions need to be in their own blocks. The coro split pass initially creates IR that obeys this constraint (which is later checked). Sinking rematerializable instructions into these blocks breaks that constraint. Instead rematerialize in the predecessor block to the suspend's single predecessor block. Differential Revision: https://reviews.llvm.org/D104051
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions