[PATCH] D76973: [LangRef] Clarify the semantics of branch on undef
Nuno Lopes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 5 14:57:53 PDT 2020
nlopes added a comment.
Yes, introducing branches on a variable that may be undef/poison is not legal. However, you can use freeze to make it safe.
I think @aqjune fixed loop unswitching already. (don't recall if that was the reverted patch). It's true there a couple more places left to fix.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76973/new/
https://reviews.llvm.org/D76973
More information about the llvm-commits
mailing list