diff options
author | Sean Silva <silvasean@google.com> | 2020-03-24 15:13:31 -0700 |
---|---|---|
committer | Sean Silva <silvasean@google.com> | 2020-03-26 10:52:48 -0700 |
commit | 3dceb6d2460550ef8c2e53df2181c8a11a7e6730 (patch) | |
tree | 55b4e4b69f14a14e29e2e4f4e0485373b226c578 /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | 47e7bdb10732e6f140adce39a1bc34e3ee2a6ea6 (diff) | |
download | llvm-3dceb6d2460550ef8c2e53df2181c8a11a7e6730.zip llvm-3dceb6d2460550ef8c2e53df2181c8a11a7e6730.tar.gz llvm-3dceb6d2460550ef8c2e53df2181c8a11a7e6730.tar.bz2 |
Allow IndexType inside tensors.
It's common in many dialects to use tensors to themselves hold tensor shapes (for example, the shape is itself the result of some non-trivial calculation). Currently, such dialects have to use `tensor<?xi64>` or worse (like allowing either i32 or i64 tensors to represent shapes). `tensor<?xindex>` is the natural type to represent this, but is currently disallowed. This patch allows it.
Differential Revision: https://reviews.llvm.org/D76726
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions