[all-commits] [llvm/llvm-project] 7e06cf: [X86] Add an Unoptimized Load Value Injection (LVI...

Scott Constable via All-commits all-commits at lists.llvm.org
Wed Jun 10 15:32:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e06cf0011a8af96f8c983bcf7a31b952e698de9
      https://github.com/llvm/llvm-project/commit/7e06cf0011a8af96f8c983bcf7a31b952e698de9
  Author: Scott Constable <scott.d.constable at intel.com>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86.h
    M llvm/lib/Target/X86/X86LoadValueInjectionLoadHardening.cpp
    M llvm/lib/Target/X86/X86TargetMachine.cpp
    M llvm/test/CodeGen/X86/O0-pipeline.ll
    M llvm/test/CodeGen/X86/lvi-hardening-loads.ll

  Log Message:
  -----------
  [X86] Add an Unoptimized Load Value Injection (LVI) Load Hardening Pass

@nikic raised an issue on D75936 that the added complexity to the O0 pipeline was causing noticeable slowdowns for `-O0` builds. This patch addresses the issue by adding a pass with equal security properties, but without any optimizations (and more importantly, without the need for expensive analysis dependencies).

Reviewers: nikic, craig.topper, mattdr

Reviewed By: craig.topper, mattdr

Differential Revision: https://reviews.llvm.org/D80964




More information about the All-commits mailing list