]> granicus.if.org Git - llvm/commit
[x86/SLH] Fix a bug where we would harden tail calls twice -- once as
authorChandler Carruth <chandlerc@gmail.com>
Mon, 23 Jul 2018 07:56:15 +0000 (07:56 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 23 Jul 2018 07:56:15 +0000 (07:56 +0000)
commitd0f4fb1b00cb9f52ccc92a67d0f34f1a2f28faeb
tree584f4921b1a97a5d5030bdba8b51d4023717c2d7
parent9e30933ab1084462f622371b0884062ebd2b7710
[x86/SLH] Fix a bug where we would harden tail calls twice -- once as
a call, and then again as a return.

Also added a comment to try and explain better why we would be doing
what we're doing when hardening the (non-call) returns.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337673 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86SpeculativeLoadHardening.cpp
test/CodeGen/X86/speculative-load-hardening-indirect.ll