There are cases where AShr can not be converted to LShr, thus, we need to handle AShr in canEvaluateTruncated.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM.
Just to make sure I'm understanding: the multiply patch (D36679) is independent of this?
Comment Actions
Yes, I managed to find an example where I am using OR instruction and that AShr instruction cannot be replaced by LShr instruction.
So, we can commit D36679 separately after this one.