[mlir][spirv] Fix path in define_enum.sh script
authorLei Zhang <antiagainst@google.com>
Tue, 5 Oct 2021 13:31:49 +0000 (09:31 -0400)
committerLei Zhang <antiagainst@google.com>
Tue, 5 Oct 2021 13:32:01 +0000 (09:32 -0400)
Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D108310

mlir/utils/spirv/define_enum.sh

index 87b88c9..496f90c 100755 (executable)
@@ -22,5 +22,5 @@ current_file="$(readlink -f "$0")"
 current_dir="$(dirname "$current_file")"
 
 python3 ${current_dir}/gen_spirv_dialect.py \
-  --base-td-path ${current_dir}/../../include/mlir/Dialect/SPIRV/SPIRVBase.td \
+  --base-td-path ${current_dir}/../../include/mlir/Dialect/SPIRV/IR/SPIRVBase.td \
   --new-enum "${new_enum}"