[PATCH] D44703: [WebAssembly] Strip threadlocal attribute from globals in single thread mode

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 20 14:42:54 PDT 2018


sbc100 added inline comments.


================
Comment at: lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp:188
     addPass(createLowerAtomicPass());
-  else
+    addPass(new StripThreadLocal());
+  } else
----------------
What do the other passes all have create functions but this one use just using new?


Repository:
  rL LLVM

https://reviews.llvm.org/D44703





More information about the llvm-commits mailing list