[x86/SLH] Extract one of the bits of logic to its own function. NFC.
authorChandler Carruth <chandlerc@gmail.com>
Sun, 15 Jul 2018 23:46:36 +0000 (23:46 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 15 Jul 2018 23:46:36 +0000 (23:46 +0000)
commit3ffcc0383ea1e7fcffe07b1faededbe0c26f3cf9
tree479982969c46ea96f097110a916dc33a836dcea5
parentcdb0ed291017160ffec4dc84f88aad075945a118
[x86/SLH] Extract one of the bits of logic to its own function. NFC.

This is just a refactoring to start cleaning up the code here and make
it more readable and approachable.

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