message: Use if_not_windows instead of Xclang-only workaround.
diff: @@ -241,9 +241,9 @@ tf_kernel_library(
  "concat_lib.h",
  "concat_lib_cpu.h",
  ],
  - gpu_copts = [
  - "-Xclang-only=-Wno-pass-failed", # clang misses #pragma loop optimizations
  - ],
  + gpu_copts = if_not_windows([
  + "-Wno-pass-failed", # clang misses #pragma loop optimizations
  + ]),
  gpu_srcs = [
  "concat_lib_gpu_impl.cu.cc",
  "concat_lib.h",
  @@ -271,9 +271,9 @@ cc_library(
  tf_kernel_library(
  name = "conv_2d",
  hdrs = ["conv_2d.h"],
  - gpu_copts = [
  - "-Xclang-only=-Wno-pass-failed", # clang misses #pragma loop optimizations
  - ],
  + gpu_copts = if_not_windows([
  + "-Wno-pass-failed", # clang misses #pragma loop optimizations
  + ]),
  gpu_srcs = [
  "conv_2d.h",
  "conv_2d_gpu.h",
  @@ -4180,9 +4180,9 @@ tf_kernel_library(
  name = "depthwise_conv_op",
  srcs = ["depthwise_conv_op.cc"],
  hdrs = ["depthwise_conv_op.h"],
  - gpu_copts = [
  - "-Xclang-only=-Wno-pass-failed", # clang misses #pragma loop optimizations
  - ],
  + gpu_copts = if_not_windows([
  + "-Wno-pass-failed", # clang misses #pragma loop optimizations
  + ]),
  gpu_srcs = [
  "depthwise_conv_op.h",
  "depthwise_conv_op_gpu.h",
  @@ -5191,9 +5191,9 @@ tf_kernel_library(
  "scatter_nd_op.h",
  "scatter_nd_op_cpu_impl.h",
  ],
  - gpu_copts = [
  - "-Xclang-only=-Wno-pass-failed", # clang misses #pragma loop optimizations
  - ],
  + gpu_copts = if_not_windows([
  + "-Wno-pass-failed", # clang misses #pragma loop optimizations
  + ]),
  gpu_srcs = [
  "scatter_nd_op.h",
  "scatter_nd_op_gpu.cu.cc",
  @@ -5550,9 +5550,9 @@ tf_cuda_cc_test(
  tf_kernel_library(
  name = "parameterized_truncated_normal_op",
  - gpu_copts = [
  - "-Xclang-only=-Wno-pass-failed", # clang misses #pragma loop optimizations
  - ],
  + gpu_copts = if_not_windows([
  + "-Wno-pass-failed", # clang misses #pragma loop optimizations
  + ]),
  prefix = "parameterized_truncated_normal_op",
  deps = [
  "//tensorflow/core:core_cpu",
  