summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-readobj/MachODumper.cpp
diff options
context:
space:
mode:
authorDorit Nuzman <dorit.nuzman@intel.com>2019-08-15 07:12:14 +0000
committerDorit Nuzman <dorit.nuzman@intel.com>2019-08-15 07:12:14 +0000
commitd57d73daed3057ff48a1e6476a681b2ad46c268c (patch)
tree52d58fc222ecc3ccabab84a7ff96f2e42b70dd26 /llvm/tools/llvm-readobj/MachODumper.cpp
parent1e246b20c038d61153c7a77b8578a188d40938e2 (diff)
downloadbcm5719-llvm-d57d73daed3057ff48a1e6476a681b2ad46c268c.tar.gz
bcm5719-llvm-d57d73daed3057ff48a1e6476a681b2ad46c268c.zip
[LV] fold-tail predication should be respected even with assume_safety
assume_safety implies that loads under "if's" can be safely executed speculatively (unguarded, unmasked). However this assumption holds only for the original user "if's", not those introduced by the compiler, such as the fold-tail "if" that guards us from loading beyond the original loop trip-count. Currently the combination of fold-tail and assume-safety pragmas results in ignoring the fold-tail predicate that guards the loads, generating unmasked loads. This patch fixes this behavior. Differential Revision: https://reviews.llvm.org/D66106 Reviewers: Ayal, hsaito, fhahn llvm-svn: 368973
Diffstat (limited to 'llvm/tools/llvm-readobj/MachODumper.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud