[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:41:02 PDT 2018


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

Thanks for fixing this!



================
Comment at: lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp:189
+    addPass(new StripThreadLocal());
+  } else
     // Expand some atomic operations. WebAssemblyTargetLowering has hooks which
----------------
Does LLVM style allow for this kind of bracketing where one side of a conditions uses braces and the other doesn't?


Repository:
  rL LLVM

https://reviews.llvm.org/D44703





More information about the llvm-commits mailing list