[PATCH] D43746: [WebAssembly] Add Wasm exception handling prepare pass
    Heejin Ahn via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu May 10 17:26:43 PDT 2018
    
    
  
aheejin added inline comments.
================
Comment at: lib/CodeGen/WinEHPrepare.cpp:54
+    "demote-catchswitch-only", cl::Hidden,
+    cl::desc("Demote catchswitch BBs only (for wasm EH)"), cl::init(false));
+
----------------
dschuff wrote:
> Why do catchswitch phis need to be removed if we don't outline any funclets?
Because catchswitch BBs are removed, or more precisely, not copied to MachineBasicBlock in ISel.
Repository:
  rL LLVM
https://reviews.llvm.org/D43746
    
    
More information about the llvm-commits
mailing list