summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2015-07-01 20:06:40 +0000
committerEnrico Granata <egranata@apple.com>2015-07-01 20:06:40 +0000
commitd4cb1dddebe5a65672d62fe379956f7324749fa4 (patch)
treeae650fff9526e53fcb4d05b88026bbf2a34eae8c /llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
parentae94f11d55bdcea4a5dfaa32c52d2ba2c0bb7613 (diff)
downloadbcm5719-llvm-d4cb1dddebe5a65672d62fe379956f7324749fa4.tar.gz
bcm5719-llvm-d4cb1dddebe5a65672d62fe379956f7324749fa4.zip
When I introduced hard-coded formatters, I made them non-cacheable
This is because - in theory - the formatter could match on not just the type, but also other properties of a ValueObject, so a per-type caching would not be a good thing On the other hand, that is not always true - sometimes the matching truly is per-type So, introduce a non-cacheable attribute on formatters that decides whether a formatter should or should not be cached. That way, the few formatters that don't want themselves cached can do so, but most formatters (including most hard-coded ones) can cache themselves just fine llvm-svn: 241184
Diffstat (limited to 'llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud