[PATCH] D78341: Change callbr to only define its output SSA variable on the normal path, not the indirect targets.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 17 13:32:29 PDT 2020
efriedma added a comment.
> I'm more concerned now about what we should do in the front end for these cases
In the frontend, it should be impossible for the normal destination to be the same as an indirect destination. Even if there's a label immediately after the asm goto, we should create an extra basic block between the asm goto and the label to emit whatever stores etc. are necessary.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78341/new/
https://reviews.llvm.org/D78341
More information about the llvm-commits
mailing list