aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/ErrorTest.cpp
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@quicinc.com>2020-02-20 16:42:02 -0600
committerKrzysztof Parzyszek <kparzysz@quicinc.com>2020-02-21 07:37:59 -0600
commitc51b0bede82b9eeddce78151dfc257cf738bf367 (patch)
tree1a49bc0e6497a33aab6e595ae02c7e7fa655c5d2 /llvm/unittests/Support/ErrorTest.cpp
parentb0761bbc7639d0901d623e1fbf53ccf6ce066b16 (diff)
downloadllvm-c51b0bede82b9eeddce78151dfc257cf738bf367.zip
llvm-c51b0bede82b9eeddce78151dfc257cf738bf367.tar.gz
llvm-c51b0bede82b9eeddce78151dfc257cf738bf367.tar.bz2
[Hexagon] Introduce noop intrinsic to cast between vector predicate types
The (overloaded) intrinsic is llvm.hexagon.V6.pred.typecast[.128B]. The types of the operand and the return value are HVX boolean vector types. For each cast, there needs to be a corresponding intrinsic declared, with different suffixes appended to the name, e.g. ; cast <128 x i1> to <32 x i1> declare <32 x i1> @llvm.hexagon.V6.pred.typecast.128B.s1(<128 x i1>) ; cast <32 x i1> to <64 x i1> declare <64 x i1> @llvm.hexagon.V6.pred.typecast.128B.s2(<32 x i1>) etc.
Diffstat (limited to 'llvm/unittests/Support/ErrorTest.cpp')
0 files changed, 0 insertions, 0 deletions