[ValueTracking] Teach isSafeToSpeculativelyExecute() about the speculatable attribute
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 28 Apr 2017 21:13:09 +0000 (21:13 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 28 Apr 2017 21:13:09 +0000 (21:13 +0000)
commitcf5e7fe35837272bf5fa05c4ce43cdee0021bbc6
tree1b62f8b199fda680144bc75efe0038eac91eebfe
parentff0730b3fcd488caf121e2e4d1aa8506ff13f3c6
[ValueTracking] Teach isSafeToSpeculativelyExecute() about the speculatable attribute

Patch by Tom Stellard

llvm-svn: 301688
llvm/lib/Analysis/ValueTracking.cpp
llvm/test/Transforms/SimplifyCFG/speculate-call.ll [new file with mode: 0644]