Displaying 2 results from an estimated 2 matches for "d12341".
Did you mean:
d12345
2016 Apr 22
3
[RFC] remove the llvm.expect intrinsic
...ction to
the LowerExpectIntrinsic pass is that it is completely unnecessary. This
was raised in the original review. We shouldn't have two mechanisms to
represent exactly the same thing. This is also why my initial
implementation for builtin_unpredictable() was rejected:
http://reviews.llvm.org/D12341
I assumed there was some good reason for LowerExpectIntrinsic to exist, so
I copied that design. As noted in that review, my assumption was wrong. And
it was suggested then that we should remove LowerExpectIntrinsic but nobody
had gotten around to it. With these patches, I'd like to finally fi...
2016 Apr 22
4
[RFC] remove the llvm.expect intrinsic
I've proposed removing the llvm.expect intrinsic:
http://reviews.llvm.org/D19300
The motivation for this change is in:
http://reviews.llvm.org/D19299
For reference:
1. We created an intrinsic that's only reason for existing is to improve
perf, but the intrinsic can harm optimization by interfering with
transforms in other passes.
2. To solve that, we created a pass to always transform