mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
Add an operator for vdup_lane so it can be implemented without a clang builtin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121190 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -680,6 +680,9 @@ static std::string GenOpString(OpKind op, const std::string &proto,
|
||||
case OpDup:
|
||||
s += Duplicate(nElts, typestr, "__a") + ";";
|
||||
break;
|
||||
case OpDupLane:
|
||||
s += SplatLane(nElts, "__a", "__b") + ";";
|
||||
break;
|
||||
case OpSelect:
|
||||
// ((0 & 1) | (~0 & 2))
|
||||
s += "(" + ts + ")";
|
||||
|
||||
Reference in New Issue
Block a user