[all-commits] [llvm/llvm-project] 8d6884: [mlir][spirv] Create builtin variable in nearest s...
Lei Zhang via All-commits
all-commits at lists.llvm.org
Sun Jan 26 08:01:03 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8d6884a15e86419c51ba456f8b6f5223696800a1
https://github.com/llvm/llvm-project/commit/8d6884a15e86419c51ba456f8b6f5223696800a1
Author: Lei Zhang <antiagainst at google.com>
Date: 2020-01-26 (Sun, 26 Jan 2020)
Changed paths:
M mlir/include/mlir/Dialect/SPIRV/SPIRVLowering.h
M mlir/lib/Dialect/SPIRV/SPIRVLowering.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list