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

Shengchen Kan via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 18 22:13:51 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),
----------------
KanRobert wrote:

clang format

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


More information about the llvm-commits mailing list