[PATCH] D43488: [mips][lld] Spectre variant two mitigation for MIPSR2

Simon Dardis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 21 12:05:42 PST 2018


sdardis marked an inline comment as done.
sdardis added inline comments.


================
Comment at: ELF/Arch/Mips.cpp:334
 
+  unsigned JrInst =
+      isMipsR6() ? (Config->ZHazardplt ? 0x03200409 : 0x03200009)
----------------
ruiu wrote:
> It's better to use uint32_t if it is intended to be unsigned 32-bit integer.
Thanks, rL325713.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D43488





More information about the llvm-commits mailing list