summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2018-07-16 11:38:48 +0000
committerChandler Carruth <chandlerc@gmail.com>2018-07-16 11:38:48 +0000
commite66a6f48e314c84d00e9580fa3d30fadb683dd11 (patch)
treed7dbb651a86fb1c127fc5ee206fc15212a2d7118 /llvm/lib/Bitcode
parentd1a381b17a4f0ecbd3bbd6c33db9c541037429eb (diff)
downloadbcm5719-llvm-e66a6f48e314c84d00e9580fa3d30fadb683dd11.tar.gz
bcm5719-llvm-e66a6f48e314c84d00e9580fa3d30fadb683dd11.zip
[x86/SLH] Fix a bug where we would try to post-load harden non-GPRs.
Found cases that hit the assert I added. This patch factors the validity checking into a nice helper routine and calls it when deciding to harden post-load, and asserts it when doing so later. I've added tests for the various ways of loading a floating point type, as well as loading all vector permutations. Even though many of these go to identical instructions, it seems good to somewhat comprehensively test them. I'm confident there will be more fixes needed here, I'll try to add tests each time as I get this predicate adjusted. llvm-svn: 337160
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud