aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2022-04-05 11:23:51 -0700
committerDaniel Sanders <daniel_l_sanders@apple.com>2022-04-05 11:55:07 -0700
commit93977f37e67eae26d9bc88e5c3970c11d8861dfc (patch)
tree43818e5623fb4b98f07c5955e819ea5d8f47f95c /clang/lib/Basic/Module.cpp
parent9bcaf6ddfe34943e6ae6a319097524c117908913 (diff)
downloadllvm-93977f37e67eae26d9bc88e5c3970c11d8861dfc.zip
llvm-93977f37e67eae26d9bc88e5c3970c11d8861dfc.tar.gz
llvm-93977f37e67eae26d9bc88e5c3970c11d8861dfc.tar.bz2
Check if register class was changed in constrainOperandRegClass()
NFC When no actual change happens there's no need to notify the observers about the fact the register class is being constrained. So we should avoid notifying observers when no change has happened, because this can dramatically affect compile time for particular test cases. Reviewed By: dsanders, arsenm Differential Revision: https://reviews.llvm.org/D122615
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions