File tree 1 file changed +4
-14
lines changed
1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -600,10 +600,10 @@ bool SYCLGenBase::emitVariableDeclaration(const InlineAsmVarDecl *D) {
600
600
601
601
bool SYCLGenBase::emitAddressExpr (const InlineAsmAddressExpr *Dst) {
602
602
// Address expression only support ld/st/red & atom instructions.
603
- if (!CurrInst || !CurrInst-> is (asmtok::op_st, asmtok::op_ld, asmtok::op_atom,
604
- asmtok::op_prefetch , asmtok::op_red ,
605
- asmtok::op_cp , asmtok::op_ldmatrix ,
606
- asmtok::op_stmatrix)) {
603
+ if (!CurrInst ||
604
+ !CurrInst-> is (asmtok::op_st, asmtok::op_ld , asmtok::op_atom ,
605
+ asmtok::op_prefetch, asmtok::op_red , asmtok::op_cp ,
606
+ asmtok::op_ldmatrix, asmtok::op_stmatrix)) {
607
607
return SYCLGenError ();
608
608
}
609
609
std::string Type;
@@ -1386,16 +1386,6 @@ class SYCLGen : public SYCLGenBase {
1386
1386
1387
1387
if (!Type || Type->getKind () != InlineAsmBuiltinType::b16)
1388
1388
return SYCLGenError ();
1389
- <<<<<<< HEAD
1390
- =======
1391
-
1392
- llvm::SaveAndRestore<const InlineAsmInstruction *> Store (CurrInst);
1393
- CurrInst = Inst;
1394
- const auto *Dst =
1395
- dyn_cast_or_null<InlineAsmAddressExpr>(Inst->getOutputOperand ());
1396
- if (!Dst)
1397
- return false ;
1398
- >>>>>>> db0271c2b2a8 (Added b16 limitation and comments)
1399
1389
1400
1390
const InlineAsmVectorExpr *VE;
1401
1391
if (VE = dyn_cast<InlineAsmVectorExpr>(Inst->getInputOperand (0 ))) {
You can’t perform that action at this time.
0 commit comments