[PATCH] D120000: [1/2] TLS loads opimization (hoist)

Xiang Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 21 16:35:49 PST 2022


xiangzhangllvm added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/TLSVariableControl.cpp:135
+      TLSCandMap[GV].addUser(Inst, Idx);
+    }
+  } // end of for all operands
----------------
LuoYuanke wrote:
> Drop brace.
I remember we should not remove "{}" for "else" if "if" has "{}"


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

https://reviews.llvm.org/D120000



More information about the llvm-commits mailing list