[PATCH] D86260: [CodeGen] Postprocess PHI nodes for callbr
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 20 10:57:09 PDT 2020
nickdesaulniers added inline comments.
================
Comment at: llvm/test/CodeGen/X86/callbr-asm-phi-nodes.ll:9
+; CHECK: # %bb.0:
+; CHECK-NEXT: movl %gs:0, %eax
+; CHECK-NEXT: #APP
----------------
What was the input C program, was it precisely https://godbolt.org/z/zqK1K7 from https://bugs.llvm.org/show_bug.cgi?id=47242. If so, this `mov` into `%eax` looks problematic; it gets overwritten on both branches of the INLINEASM_BR, and looks like a dead store to me.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86260/new/
https://reviews.llvm.org/D86260
More information about the llvm-commits
mailing list