diff options
author | Abhishek Varma <avarma094@gmail.com> | 2024-11-29 10:22:23 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-29 10:22:23 +0530 |
commit | d83148f9b9debde1358f0686594da208ce33182e (patch) | |
tree | 8d023bd8a63ae62c2e4b25621cc49ed14e5fa8d4 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
parent | b2d3cb1e7502a5ddb7d6688dce5cf51573f6189c (diff) | |
download | llvm-d83148f9b9debde1358f0686594da208ce33182e.zip llvm-d83148f9b9debde1358f0686594da208ce33182e.tar.gz llvm-d83148f9b9debde1358f0686594da208ce33182e.tar.bz2 |
[MLIR][Affine] Update ::fold() to have constant basis attr for affine.delinearize_index/linearize_index (#117572)
-- This commit updates `::fold()` to have constant(CST)
attribute for affine.delinearize_index/linearize_index op's basis
wherever applicable.
-- Essentially the code checks if the mixed basis OpFoldResult
set contains any constant SSA value and converts it to a constant
integer instead.
Signed-off-by: Abhishek Varma <abhvarma@amd.com>
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions