[x86/SLH] Sink the return hardening into the main block-walk + hardening
commita35542d1f3f42e971023c5d694938b250a276e96
authorChandler Carruth <chandlerc@gmail.com>
Wed, 25 Jul 2018 09:18:48 +0000 (25 09:18 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 25 Jul 2018 09:18:48 +0000 (25 09:18 +0000)
tree72a40c88cefb818605152a68996c436e12b1e2eb
parentd46b6fef4832636789bcee1f02500bdb57cab4da
[x86/SLH] Sink the return hardening into the main block-walk + hardening
code.

This consolidates all our hardening calls, and simplifies the code
a bit. It seems much more clear to handle all of these together.

No functionality changed here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337895 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86SpeculativeLoadHardening.cpp