[PATCH] D92709: [TailDuplicator] allow for callbr

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 4 17:16:59 PST 2020


nickdesaulniers added inline comments.


================
Comment at: llvm/test/CodeGen/X86/tail-dup-asm-goto.ll:21
+  ; CHECK:   INLINEASM_BR &"#$0 $1 $2", 9 /* sideeffect mayload attdialect */, 13 /* imm */, 42, 13 /* imm */, 0, 13 /* imm */, blockaddress(@test1, %ir-block.bb17.i.i.i), 12 /* clobber */, implicit-def early-clobber $df, 12 /* clobber */, implicit-def early-clobber $fpsw, 12 /* clobber */, implicit-def early-clobber $eflags
+  ; CHECK:   [[COPY2:%[0-9]+]]:gr64 = COPY [[MOV64rm]]
+  ; CHECK:   JMP_1 %bb.5
----------------
hmmm...this doesn't look quite right to me, shouldn't the copy have occurred BEFORE the INLINEASM_BR...?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92709/new/

https://reviews.llvm.org/D92709



More information about the llvm-commits mailing list