[mlir][spirv] Create builtin variable in nearest symbol table
This commit changes the logic of `getBuiltinVariableValue` to get or create the builtin variable in the nearest symbol table. This will allow us to use this function in other partial conversion cases where we haven't created the spv.module yet. Differential Revision: https://reviews.llvm.org/D73416
Loading
Please sign in to comment