1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/include
Simon Pilgrim 11e1b3f795 [InstCombine] visitTrunc - trunc (lshr (sext A), C) --> (ashr A, C) non-uniform support
This came from @lebedev.ri's suggestion to use m_SpecificInt_ICMP for D88429 - since I was going to change the m_APInt to m_Constant for that patch I thought I would do it for the only other user of the APInt first.

I've added a ConstantExpr::getUMin helper - its trivial to add UMAX/SMIN/SMAX but thought I'd wait until we have use cases.

Differential Revision: https://reviews.llvm.org/D88475
2020-09-29 15:01:16 +01:00
..
llvm [InstCombine] visitTrunc - trunc (lshr (sext A), C) --> (ashr A, C) non-uniform support 2020-09-29 15:01:16 +01:00
llvm-c [LLVM-C] Turn a ShuffleVector Constant Into a Getter. 2020-09-26 17:32:57 -06:00