OSDN Git Service

SpeculativeExecution Pass: Set PreserveCFG to avoid unnecessary analyses invalidation.
authorMichael Zolotukhin <mzolotukhin@apple.com>
Thu, 7 Jun 2018 00:19:29 +0000 (00:19 +0000)
committerMichael Zolotukhin <mzolotukhin@apple.com>
Thu, 7 Jun 2018 00:19:29 +0000 (00:19 +0000)
commitd13f6289f77e6451add7623ed78fd9eda07bffa5
treef88bcecbd38e9e7bd4ba961d3fff4e6cf97bcb4d
parenta42c01a4b3cb7e2e0df65b5279f7a7db40ea72c6
SpeculativeExecution Pass: Set PreserveCFG to avoid unnecessary analyses invalidation.

The pass doesn't touch CFG in any way, only moves instructions between
blocks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334150 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SpeculativeExecution.cpp
test/Other/opt-O2-pipeline.ll
test/Other/opt-O3-pipeline.ll
test/Other/opt-Os-pipeline.ll