aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2023-03-12 23:29:25 -0700
committerCraig Topper <craig.topper@sifive.com>2023-03-12 23:34:13 -0700
commitc0c4c725e98c7339d8dbc8eec2a773d26f87929b (patch)
tree352426e81d91b84baf625cd9ce3abae2e0f54f09 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
parent23bd0e037b744d1f93bdfad59b7575017725a96c (diff)
downloadllvm-c0c4c725e98c7339d8dbc8eec2a773d26f87929b.zip
llvm-c0c4c725e98c7339d8dbc8eec2a773d26f87929b.tar.gz
llvm-c0c4c725e98c7339d8dbc8eec2a773d26f87929b.tar.bz2
[RISCV] Return false for unsupported VTs in isFPImmLegal.
I don't have a test case that fails for this, but it seemed like we should only handle legal types. The callers I looked at in DAGCombine either check the type is legal or don't even call isFPImmLegal unless LegalOperations is true. Written in a slightly odd way because switches on EVT require an additional isSimple check so an if/else chain is easier. Used a bool to shorten the code instead of having multiple ifs and returns. AArch64 uses a similarish structure.
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
0 files changed, 0 insertions, 0 deletions