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)
commitc650ff77eb1055d1529b9eeab13214388322ad8f
tree0900dcae88f0a72158707658da0d0fb1af5ab149
parent17a9204d0c7b0a73d5bdce78919f45716c152887
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

llvm-svn: 350729
llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/lib/Target/AArch64/AArch64SpeculationHardening.cpp
llvm/test/CodeGen/AArch64/speculation-hardening-loads.ll [new file with mode: 0644]