Support more instructions in SpeculativeExecution pass:
- ExtractValue
- InsertValue
- Trunc
- Freeze
Paths
| Differential D91688
SpeculativeExecution: Allow speculating more instruction types ClosedPublic Authored by piotr on Nov 18 2020, 1:31 AM.
Details Summary Support more instructions in SpeculativeExecution pass:
Diff Detail
Event TimelineComment Actions
Thanks! Stepping back a bit, why does this pass have a whitelist of instructions at all, instead of just relying on isSafeToSpeculativelyExecute? Comment Actions I asked myself the same question - this was tried before - see https://reviews.llvm.org/D24544. I do not know any more details. This revision is now accepted and ready to land.Nov 18 2020, 6:52 AM This revision was landed with ongoing or failed builds.Nov 18 2020, 8:00 AM Closed by commit rGb3b9be4ae77e: SpeculativeExecution: Allow speculating more instruction types (authored by piotr). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 306113 llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
llvm/test/Transforms/SpeculativeExecution/spec-casts.ll
llvm/test/Transforms/SpeculativeExecution/spec-fp.ll
llvm/test/Transforms/SpeculativeExecution/spec-other.ll
|