OSDN Git Service

Initial AArch64 SLH implementation.
authorKristof Beyls <kristof.beyls@arm.com>
Wed, 9 Jan 2019 15:13:34 +0000 (15:13 +0000)
committerKristof Beyls <kristof.beyls@arm.com>
Wed, 9 Jan 2019 15:13:34 +0000 (15:13 +0000)
commitbac64e1575868bebd8b66f362db0925bd8dd8bdd
tree731d51c8c12a98f4f3e1ca28e64de17a463b609b
parent56b18a6bdf2201f32e055594c4b937c4cd699776
Initial AArch64 SLH implementation.

This is an initial implementation for Speculative Load Hardening for
AArch64. It builds on top of the recently introduced
AArch64SpeculationHardening pass.
This doesn't implement (yet) some of the optimizations implemented for
the X86SpeculativeLoadHardening pass. I thought introducing the
optimizations incrementally in follow-up patches should make this easier
to review.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350729 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64InstrInfo.cpp
lib/Target/AArch64/AArch64InstrInfo.td
lib/Target/AArch64/AArch64SpeculationHardening.cpp
test/CodeGen/AArch64/speculation-hardening-loads.ll [new file with mode: 0644]