[x86/SLH] Sink the return hardening into the main block-walk + hardening
authorChandler Carruth <chandlerc@gmail.com>
Wed, 25 Jul 2018 09:18:48 +0000 (09:18 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 25 Jul 2018 09:18:48 +0000 (09:18 +0000)
commit4f6481dc811250c55cda9f647b1e00331eec71cc
tree5197cc78764c4016a68e28e629fc028a1a837c94
parent196e719acda14658164d9ca313ff7fda3b02d9a5
[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.

llvm-svn: 337895
llvm/lib/Target/X86/X86SpeculativeLoadHardening.cpp