diff options
author | Mahesh Ravishankar <ravishankarm@google.com> | 2019-08-19 11:38:53 -0700 |
---|---|---|
committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-08-19 11:39:25 -0700 |
commit | 377bfb3a142a83a8ecee5de5a6b5d571881fc2b6 (patch) | |
tree | 8d9165735b6a6f18dfaa7d15b93465ff91228ad8 /mlir/lib/Conversion/ControlFlowToCFG/ConvertControlFlowToCFG.cpp | |
parent | ba0fa92524ce0aea2385858016bdb08bd941a10d (diff) | |
download | bcm5719-llvm-377bfb3a142a83a8ecee5de5a6b5d571881fc2b6.tar.gz bcm5719-llvm-377bfb3a142a83a8ecee5de5a6b5d571881fc2b6.zip |
Fix parsing/printing of spv.globalVariable and spv._address_of
Change the prining/parsing of spv.globalVariable to print the type of
the variable after the ':' to be consistent with MLIR convention.
The spv._address_of should print the variable type after the ':'. It was
mistakenly printing the address of the return value. Add a (missing)
test that should have caught that.
Also move spv.globalVariable and spv._address_of tests to
structure-ops.mlir.
PiperOrigin-RevId: 264204686
Diffstat (limited to 'mlir/lib/Conversion/ControlFlowToCFG/ConvertControlFlowToCFG.cpp')
0 files changed, 0 insertions, 0 deletions