diff options
author | Stella Laurenzo <stellaraccident@gmail.com> | 2021-10-08 15:39:28 +0000 |
---|---|---|
committer | Stella Laurenzo <stellaraccident@gmail.com> | 2021-10-08 15:44:02 +0000 |
commit | a201829a201886c2fad4b6ac8da07e2b4e445041 (patch) | |
tree | c36b24ac486d31498d8aacdac080d2ea288fe827 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
parent | aac5b84d4bf7cbb84e7adc491380bf5bfcb8f61b (diff) | |
download | llvm-a201829a201886c2fad4b6ac8da07e2b4e445041.zip llvm-a201829a201886c2fad4b6ac8da07e2b4e445041.tar.gz llvm-a201829a201886c2fad4b6ac8da07e2b4e445041.tar.bz2 |
Fix parsing of hex-format index dense tensor attributes.
TensorLiteralParser::getHexAttr does a isIntOrIndexOrFloat check and properly handles index elements, but TensorLiteralParser::getAttr that calls into it has a mismatched check. This just makes the checks match so that index element attrs can parse when of type tensor.
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D111374
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions