[PATCH] D46399: Skip blocks with no predecessors for CFIInstrInserter verify
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 3 16:34:44 PDT 2018
craig.topper added a comment.
Here is a C program rather than hacked IR that still crashes with this patch. I don't know anything about CFI so I don't know what the right answer is.
int __attribute((__always_inline__)) bar() {
return 0;
}
void foo() {
if (bar() != 0) {
if (bar() != 0) {
}
}
}
https://reviews.llvm.org/D46399
More information about the llvm-commits
mailing list