[Hexagon] Check if vector is empty before calling back()
authorKrzysztof Parzyszek <kparzysz@quicinc.com>
Thu, 1 Dec 2022 19:21:53 +0000 (11:21 -0800)
committerKrzysztof Parzyszek <kparzysz@quicinc.com>
Thu, 1 Dec 2022 19:41:47 +0000 (11:41 -0800)
commit2191137dff5e1568319e0605c065678b79184346
treedcd2829ea54cda518346fc06354724e1b4384a6b
parentf4e2d56a070dc4dac6bc617b561ce28d2b441419
[Hexagon] Check if vector is empty before calling back()
llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
llvm/test/CodeGen/Hexagon/autohvx/hvx-idiom-empty-results.ll [new file with mode: 0644]