aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorBixia Zheng <bixia@google.com>2022-02-24 15:26:36 -0800
committerBixia Zheng <bixia@google.com>2022-02-25 07:20:15 -0800
commit90f22ab3adcf2e516e7a15c870c30eb0f47fbc20 (patch)
tree349771947237abcb2885f1d30adc578d39900d0e /clang/lib/Frontend/CompilerInvocation.cpp
parent4c75521ce0b1ac55fba1a91ef5156fc811f5dfcb (diff)
downloadllvm-90f22ab3adcf2e516e7a15c870c30eb0f47fbc20.zip
llvm-90f22ab3adcf2e516e7a15c870c30eb0f47fbc20.tar.gz
llvm-90f22ab3adcf2e516e7a15c870c30eb0f47fbc20.tar.bz2
[mlir][sparse][taco] Add support for scalar tensors.
This change allows the use of scalar tensors with index 0 in tensor index expressions. In this case, the scalar value is broadcast to match the dimensions of other tensors in the same expression. Using scalar tensors as a destination in tensor index expressions is not supported in the PyTACO DSL. Add a PyTACO test to show the use of scalar tensors. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D120524
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions