[PATCH] D81909: [WebAssembly] Fix bug in FixBrTables and use branch analysis utils

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 17 11:50:57 PDT 2020


aheejin accepted this revision.
aheejin added a comment.
This revision is now accepted and ready to land.

Sorry for the delayed reply!



================
Comment at: llvm/lib/Target/WebAssembly/WebAssemblyFixBrTableDefaults.cpp:63
+           "Expected jump or fallthrough to br_table block");
+    MI.addOperand(MF, MachineOperand::CreateMBB(TBB));
   } else {
----------------
Is it possible that both `TBB` and `FBB` are true and `FBB == MBB`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81909





More information about the llvm-commits mailing list