Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Carries 4 reverts

Related to Nanobind issues

-
llvm/llvm-project@5cd4274
-
llvm/llvm-project@08e2c15
-
llvm/llvm-project@b56d1ec

Related to RISC-V compilation


llvm/llvm-project@169c32e

---------

Signed-off-by: MaheshRavishankar <[email protected]>
Signed-off-by: MaheshRavishankar <[email protected]>
  • Loading branch information
MaheshRavishankar authored Jan 7, 2025
1 parent b245e6b commit d224220
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
// CHECK-DAG: %[[TID_Y_EXT:.*]] = llvm.sext %[[TID_Y]] : i32 to i64
// CHECK-DAG: %[[LANEID:.*]] = nvvm.read.ptx.sreg.laneid range <i32, 0, 32> : i32
// CHECK-DAG: %[[LANEID_EXT:.*]] = llvm.sext %[[LANEID]] : i32 to i64
// CHECK-DAG: %[[TID_Y_IDX:.*]] = llvm.mul %[[TID_Y_EXT]], %[[C64]] : i64
// CHECK-DAG: %[[TID_Y_IDX:.*]] = llvm.mul %[[TID_Y_EXT]], %[[C64]] overflow<nsw> : i64
//
// Match the loop invariant math on the special registers.
// CHECK: %[[GRP_IDX:.*]] = llvm.add %[[TID_Y_IDX]], %[[LANEID_EXT]] : i64
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,11 @@ hal.executable @i4_dequant_matvec_f16_subgroup_64 {

// Load the quantized weight and get 4xi4 out of it. Ensure that the offset
// calculation avoids excessive scaling down in computing the element offset.
// CHECK: spirv.IMul %{{.*}}, %[[C64]] : i32
// CHECK: spirv.IMul %{{.*}}, %[[C64]] {no_signed_wrap} : i32
// CHECK: spirv.IAdd %{{.*}}, %[[STREAMBINDING]] : i32
// CHECK: spirv.IMul %{{.*}}, %[[C5504]] : i32
// CHECK: spirv.IMul %{{.*}}, %[[C5504]] {no_signed_wrap} : i32
// CHECK: spirv.IAdd %{{.*}}, %{{.*}} : i32
// CHECK: spirv.IMul %[[WIDX]], %[[C2]] : i32
// CHECK: spirv.IMul %[[WIDX]], %[[C2]] {no_signed_wrap} : i32
// CHECK: spirv.IAdd %{{.*}}, %{{.*}} : i32
// CHECK: %[[OFFSET:.+]] = spirv.SDiv %{{.*}}, %[[C4]] : i32
// CHECK: %[[ACCESS:.+]] = spirv.AccessChain %[[RADDR]][{{.*}}, %[[OFFSET]]] : !spirv.ptr<!spirv.struct<(!spirv.rtarray<i32, stride=4> [0])>, StorageBuffer>, i32, i32
Expand Down
2 changes: 1 addition & 1 deletion third_party/llvm-project
Submodule llvm-project updated 719 files

0 comments on commit d224220

Please sign in to comment.