aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/llvm/lib/Target/Hexagon/HexagonSplitConst32AndConst64.cpp
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2019-12-20 17:15:09 +0000
committerKyle Evans <kevans@FreeBSD.org>2019-12-20 17:15:09 +0000
commiteee7706389133fe1663899a41001fd4ce9cc0fbc (patch)
treef39b2da62a32b0c10f8ace550b334d469326b507 /contrib/llvm-project/llvm/lib/Target/Hexagon/HexagonSplitConst32AndConst64.cpp
parentdb41cd0e062561c71684f68dbf81f903b73ca282 (diff)
downloadsrc-eee7706389133fe1663899a41001fd4ce9cc0fbc.tar.gz
src-eee7706389133fe1663899a41001fd4ce9cc0fbc.zip
vt: store a pointer to the keyboard instead of index
This effectively reverts r355935, but is functionally equivalent. We gain no benefit from storing the index and repeatedly fetching the keyboard with `kbd_get_keyboard` when we need it. We'll be notified when it's going away so we can clean up the pointer. All existing references were trivially converted. Only once instance actually needed the index.
Notes
Notes: svn path=/head/; revision=355937
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Target/Hexagon/HexagonSplitConst32AndConst64.cpp')
0 files changed, 0 insertions, 0 deletions