Integrate LLVM at llvm/llvm-project@5657f93e78
Updates LLVM usage to match [5657f93e788f](https://github.com/llvm/llvm-project/commit/5657f93e788f) PiperOrigin-RevId: 364541987
This commit is contained in:
parent
1a6483e229
commit
618223778d
|
@ -15,9 +15,9 @@
|
||||||
|
|
||||||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
||||||
|
|
||||||
LLVM_COMMIT = "e990fa2170314b179ec025b68fd00fbe9aab398d"
|
LLVM_COMMIT = "5657f93e788f093c70fb448dd6f9398b149df278"
|
||||||
|
|
||||||
LLVM_SHA256 = "3d071fad8606faa555518b043e5100c4a03205ac09a503fe30f829fe024eb999"
|
LLVM_SHA256 = "47f798395db279dba107a35bffe4c32551d58a5bb443f9cb94e4f309a778f46e"
|
||||||
|
|
||||||
LLVM_BAZEL_TAG = "llvm-project-{commit}".format(commit = LLVM_COMMIT)
|
LLVM_BAZEL_TAG = "llvm-project-{commit}".format(commit = LLVM_COMMIT)
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
e990fa2170314b179ec025b68fd00fbe9aab398d
|
5657f93e788f093c70fb448dd6f9398b149df278
|
||||||
|
|
||||||
|
|
|
@ -127,15 +127,14 @@ func @select_and_scatter(%arg: memref<112x112xf32>,
|
||||||
|
|
||||||
|
|
||||||
// Depending on PRED, return ARG ivs & elem or current select ivs and value.
|
// Depending on PRED, return ARG ivs & elem or current select ivs and value.
|
||||||
// CHECK: [[IF_PRED_RES:%.*]]:4 = scf.if [[PRED]]
|
// CHECK: [[IF_PRED_RES0:%.*]] = select [[PRED]], [[ARG_I]], [[SEL_I]]
|
||||||
// CHECK: scf.yield [[ARG_I]], [[ARG_J]], [[ARG_ELEM]], [[CTRUE]]
|
// CHECK: [[IF_PRED_RES1:%.*]] = select [[PRED]], [[ARG_J]], [[SEL_J]]
|
||||||
// CHECK: } else {
|
// CHECK: [[IF_PRED_RES2:%.*]] = select [[PRED]], [[ARG_ELEM]], [[SEL_VAL]]
|
||||||
// CHECK: scf.yield [[SEL_I]], [[SEL_J]], [[SEL_VAL]], [[SEL_INIT]]
|
// CHECK: [[IF_PRED_RES3:%.*]] = select [[PRED]], [[CTRUE]], [[SEL_INIT]]
|
||||||
// CHECK: }
|
|
||||||
|
|
||||||
// INIT-THEN-BODY yield.
|
// INIT-THEN-BODY yield.
|
||||||
// CHECK: scf.yield [[IF_PRED_RES]]#0, [[IF_PRED_RES]]#1,
|
// CHECK: scf.yield [[IF_PRED_RES0]], [[IF_PRED_RES1]],
|
||||||
// CHECK-SAME: [[IF_PRED_RES]]#2, [[IF_PRED_RES]]#3
|
// CHECK-SAME: [[IF_PRED_RES2]], [[IF_PRED_RES3]]
|
||||||
|
|
||||||
// INIT-ELSE-BODY, i.e. if INBOUNDS == TRUE and INIT == FALSE, returns ARG
|
// INIT-ELSE-BODY, i.e. if INBOUNDS == TRUE and INIT == FALSE, returns ARG
|
||||||
// ivs and element without computing Select function.
|
// ivs and element without computing Select function.
|
||||||
|
|
Loading…
Reference in New Issue