summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2019-02-02 23:29:55 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2019-02-02 23:29:55 +0000
commitcbaada6bc18188853b311d42c0356b8a6ca24c7a (patch)
treee634e195d98f3ba7549507a961ea3f4113f0ca8c /llvm/include
parente3f105c651c88002f33df117b8f2c8f8ed003993 (diff)
downloadbcm5719-llvm-cbaada6bc18188853b311d42c0356b8a6ca24c7a.tar.gz
bcm5719-llvm-cbaada6bc18188853b311d42c0356b8a6ca24c7a.zip
GlobalISel: Legalization for inttoptr/ptrtoint
llvm-svn: 352973
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h b/llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
index 17acfc2c3c7..66a722ef8e1 100644
--- a/llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
+++ b/llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
@@ -221,6 +221,8 @@ LegalityPredicate widerThan(unsigned TypeIdx, unsigned Size);
/// True iff the specified type index is a scalar whose size is not a power of
/// 2.
LegalityPredicate sizeNotPow2(unsigned TypeIdx);
+/// True iff the specified type indices are both the same bit size.
+LegalityPredicate sameSize(unsigned TypeIdx0, unsigned TypeIdx1);
/// True iff the specified MMO index has a size that is not a power of 2
LegalityPredicate memSizeInBytesNotPow2(unsigned MMOIdx);
/// True iff the specified type index is a vector whose element count is not a
OpenPOWER on IntegriCloud