diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-09-29 14:45:30 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-09-29 15:01:16 +0100 |
commit | 14ff38e235c4aec8e444d8aec26ce5d3a4c524d2 (patch) | |
tree | f8e19eb80ba9ebdfce51814f9aeaa50e179e5207 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | ecc997807180a6e763f12e3d011f6b887db0d6a9 (diff) | |
download | llvm-14ff38e235c4aec8e444d8aec26ce5d3a4c524d2.zip llvm-14ff38e235c4aec8e444d8aec26ce5d3a4c524d2.tar.gz llvm-14ff38e235c4aec8e444d8aec26ce5d3a4c524d2.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions