aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/PredicateInfo.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2018-07-24 12:44:00 +0000
committerChandler Carruth <chandlerc@gmail.com>2018-07-24 12:44:00 +0000
commit54529146c6db6b770a1a83f8ce4aaa4562b0befc (patch)
tree68327fd6b00f5aae6492cd5e7abae93fdb57f4b3 /llvm/lib/Transforms/Utils/PredicateInfo.cpp
parent2a6a3fc4a39bf73c909f00a672ef300edffa18e2 (diff)
downloadllvm-54529146c6db6b770a1a83f8ce4aaa4562b0befc.zip
llvm-54529146c6db6b770a1a83f8ce4aaa4562b0befc.tar.gz
llvm-54529146c6db6b770a1a83f8ce4aaa4562b0befc.tar.bz2
[x86/SLH] Extract the core register hardening logic to a low-level
helper and restructure the post-load hardening to use this. This isn't as trivial as I would have liked because the post-load hardening used a trick that only works for it where it swapped in a temporary register to the load rather than replacing anything. However, there is a simple way to do this without that trick that allows this to easily reuse a friendly API for hardening a value in a register. That API will in turn be usable in subsequent patcehs. This also techincally changes the position at which we insert the subreg extraction for the predicate state, but that never resulted in an actual instruction and so tests don't change at all. llvm-svn: 337825
Diffstat (limited to 'llvm/lib/Transforms/Utils/PredicateInfo.cpp')
0 files changed, 0 insertions, 0 deletions