We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Excuse me, I tried this example, but for my tvm it had an AttributeError called module 'tvm.target' has no attribute 'riscv_cpu' .
module 'tvm.target' has no attribute 'riscv_cpu'
I also changed the target into llvm, but it also had errors when I used llc to made .ll into .s: LLVM ERROR: Cannot select: t122: v2i32 = vselect t124, t114, t176 t124: v2i32 = setcc t114, t176, setgt:ch t114: v2i32 = vselect t126, t104, t175 t126: v2i32 = setcc t104, t175, setlt:ch t104: v2i32,ch = load<(load 8 from %ir.uglygep910, align 16, !tbaa !90)> t170, t66, undef:i64 t66: i64 = add t4, Constant:i64<-44> t4: i64,ch = CopyFromReg t0, Register:i64 %3 t3: i64 = Register %3 t64: i64 = Constant<-44> t10: i64 = undef t175: v2i32 = RISCVISD::VINSERTT64_W Constant:i64<255>, Constant:i64<255> t72: i64 = Constant<255> t72: i64 = Constant<255> t104: v2i32,ch = load<(load 8 from %ir.uglygep910, align 16, !tbaa !90)> t170, t66, undef:i64 t66: i64 = add t4, Constant:i64<-44> t4: i64,ch = CopyFromReg t0, Register:i64 %3 t3: i64 = Register %3 t64: i64 = Constant<-44> t10: i64 = undef t175: v2i32 = RISCVISD::VINSERTT64_W Constant:i64<255>, Constant:i64<255> t72: i64 = Constant<255> t72: i64 = Constant<255> t176: v2i32 = RISCVISD::VINSERTT64_W Constant:i64<0>, Constant:i64<0> t70: i64 = Constant<0> t70: i64 = Constant<0> t114: v2i32 = vselect t126, t104, t175 t126: v2i32 = setcc t104, t175, setlt:ch t104: v2i32,ch = load<(load 8 from %ir.uglygep910, align 16, !tbaa !90)> t170, t66, undef:i64 t66: i64 = add t4, Constant:i64<-44> t4: i64,ch = CopyFromReg t0, Register:i64 %3 t3: i64 = Register %3 t64: i64 = Constant<-44> t10: i64 = undef t175: v2i32 = RISCVISD::VINSERTT64_W Constant:i64<255>, Constant:i64<255> t72: i64 = Constant<255> t72: i64 = Constant<255> t104: v2i32,ch = load<(load 8 from %ir.uglygep910, align 16, !tbaa !90)> t170, t66, undef:i64 t66: i64 = add t4, Constant:i64<-44> t4: i64,ch = CopyFromReg t0, Register:i64 %3 t3: i64 = Register %3 t64: i64 = Constant<-44> t10: i64 = undef t175: v2i32 = RISCVISD::VINSERTT64_W Constant:i64<255>, Constant:i64<255> t72: i64 = Constant<255> t72: i64 = Constant<255> t176: v2i32 = RISCVISD::VINSERTT64_W Constant:i64<0>, Constant:i64<0> t70: i64 = Constant<0> t70: i64 = Constant<0> In function: fused_clip_compute_
LLVM ERROR: Cannot select: t122: v2i32 = vselect t124, t114, t176 t124: v2i32 = setcc t114, t176, setgt:ch t114: v2i32 = vselect t126, t104, t175 t126: v2i32 = setcc t104, t175, setlt:ch t104: v2i32,ch = load<(load 8 from %ir.uglygep910, align 16, !tbaa !90)> t170, t66, undef:i64 t66: i64 = add t4, Constant:i64<-44> t4: i64,ch = CopyFromReg t0, Register:i64 %3 t3: i64 = Register %3 t64: i64 = Constant<-44> t10: i64 = undef t175: v2i32 = RISCVISD::VINSERTT64_W Constant:i64<255>, Constant:i64<255> t72: i64 = Constant<255> t72: i64 = Constant<255> t104: v2i32,ch = load<(load 8 from %ir.uglygep910, align 16, !tbaa !90)> t170, t66, undef:i64 t66: i64 = add t4, Constant:i64<-44> t4: i64,ch = CopyFromReg t0, Register:i64 %3 t3: i64 = Register %3 t64: i64 = Constant<-44> t10: i64 = undef t175: v2i32 = RISCVISD::VINSERTT64_W Constant:i64<255>, Constant:i64<255> t72: i64 = Constant<255> t72: i64 = Constant<255> t176: v2i32 = RISCVISD::VINSERTT64_W Constant:i64<0>, Constant:i64<0> t70: i64 = Constant<0> t70: i64 = Constant<0> t114: v2i32 = vselect t126, t104, t175 t126: v2i32 = setcc t104, t175, setlt:ch t104: v2i32,ch = load<(load 8 from %ir.uglygep910, align 16, !tbaa !90)> t170, t66, undef:i64 t66: i64 = add t4, Constant:i64<-44> t4: i64,ch = CopyFromReg t0, Register:i64 %3 t3: i64 = Register %3 t64: i64 = Constant<-44> t10: i64 = undef t175: v2i32 = RISCVISD::VINSERTT64_W Constant:i64<255>, Constant:i64<255> t72: i64 = Constant<255> t72: i64 = Constant<255> t104: v2i32,ch = load<(load 8 from %ir.uglygep910, align 16, !tbaa !90)> t170, t66, undef:i64 t66: i64 = add t4, Constant:i64<-44> t4: i64,ch = CopyFromReg t0, Register:i64 %3 t3: i64 = Register %3 t64: i64 = Constant<-44> t10: i64 = undef t175: v2i32 = RISCVISD::VINSERTT64_W Constant:i64<255>, Constant:i64<255> t72: i64 = Constant<255> t72: i64 = Constant<255> t176: v2i32 = RISCVISD::VINSERTT64_W Constant:i64<0>, Constant:i64<0> t70: i64 = Constant<0> t70: i64 = Constant<0> In function: fused_clip_compute_
So, how can I solve this error ? Please.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Excuse me, I tried this example, but for my tvm it had an AttributeError called
module 'tvm.target' has no attribute 'riscv_cpu'
.I also changed the target into llvm, but it also had errors when I used llc to made .ll into .s:
LLVM ERROR: Cannot select: t122: v2i32 = vselect t124, t114, t176 t124: v2i32 = setcc t114, t176, setgt:ch t114: v2i32 = vselect t126, t104, t175 t126: v2i32 = setcc t104, t175, setlt:ch t104: v2i32,ch = load<(load 8 from %ir.uglygep910, align 16, !tbaa !90)> t170, t66, undef:i64 t66: i64 = add t4, Constant:i64<-44> t4: i64,ch = CopyFromReg t0, Register:i64 %3 t3: i64 = Register %3 t64: i64 = Constant<-44> t10: i64 = undef t175: v2i32 = RISCVISD::VINSERTT64_W Constant:i64<255>, Constant:i64<255> t72: i64 = Constant<255> t72: i64 = Constant<255> t104: v2i32,ch = load<(load 8 from %ir.uglygep910, align 16, !tbaa !90)> t170, t66, undef:i64 t66: i64 = add t4, Constant:i64<-44> t4: i64,ch = CopyFromReg t0, Register:i64 %3 t3: i64 = Register %3 t64: i64 = Constant<-44> t10: i64 = undef t175: v2i32 = RISCVISD::VINSERTT64_W Constant:i64<255>, Constant:i64<255> t72: i64 = Constant<255> t72: i64 = Constant<255> t176: v2i32 = RISCVISD::VINSERTT64_W Constant:i64<0>, Constant:i64<0> t70: i64 = Constant<0> t70: i64 = Constant<0> t114: v2i32 = vselect t126, t104, t175 t126: v2i32 = setcc t104, t175, setlt:ch t104: v2i32,ch = load<(load 8 from %ir.uglygep910, align 16, !tbaa !90)> t170, t66, undef:i64 t66: i64 = add t4, Constant:i64<-44> t4: i64,ch = CopyFromReg t0, Register:i64 %3 t3: i64 = Register %3 t64: i64 = Constant<-44> t10: i64 = undef t175: v2i32 = RISCVISD::VINSERTT64_W Constant:i64<255>, Constant:i64<255> t72: i64 = Constant<255> t72: i64 = Constant<255> t104: v2i32,ch = load<(load 8 from %ir.uglygep910, align 16, !tbaa !90)> t170, t66, undef:i64 t66: i64 = add t4, Constant:i64<-44> t4: i64,ch = CopyFromReg t0, Register:i64 %3 t3: i64 = Register %3 t64: i64 = Constant<-44> t10: i64 = undef t175: v2i32 = RISCVISD::VINSERTT64_W Constant:i64<255>, Constant:i64<255> t72: i64 = Constant<255> t72: i64 = Constant<255> t176: v2i32 = RISCVISD::VINSERTT64_W Constant:i64<0>, Constant:i64<0> t70: i64 = Constant<0> t70: i64 = Constant<0> In function: fused_clip_compute_
So, how can I solve this error ? Please.
The text was updated successfully, but these errors were encountered: