[llvm] Add option to turn off optimization for X86 assembler (PR #75895)

Yi Kong via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 18 22:21:34 PST 2023


================
@@ -48,6 +48,10 @@ static cl::opt<bool> LVIInlineAsmHardening(
     cl::desc("Harden inline assembly code that may be vulnerable to Load Value"
              " Injection (LVI). This feature is experimental."), cl::Hidden);
 
+static cl::opt<bool> AsmOptimize("x86-inline-asm-optimize", cl::init(true),
----------------
kongy wrote:

Done.

https://github.com/llvm/llvm-project/pull/75895


More information about the llvm-commits mailing list