aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2019-07-31 19:59:24 +0000
committerWei Mi <wmi@google.com>2019-07-31 19:59:24 +0000
commitf49c107f06c6a98d11a09d758f08554c78b9b933 (patch)
tree80eafd9238594d0eb67f5c4f09c482b96bf8c988 /llvm/lib/CodeGen/MachineOperand.cpp
parentc940adeddb86dfccfcbb2eb3fedd0deb0b3640e1 (diff)
downloadllvm-f49c107f06c6a98d11a09d758f08554c78b9b933.zip
llvm-f49c107f06c6a98d11a09d758f08554c78b9b933.tar.gz
llvm-f49c107f06c6a98d11a09d758f08554c78b9b933.tar.bz2
[DAGCombine] Limit the number of times for the same store and root nodes
to bail out in store merging dependence check. We run into a case where dependence check in store merging bail out many times for the same store and root nodes in a huge basicblock. That increases compile time by almost 100x. The patch add a map to track how many times the bailing out happen for the same store and root, and if it is over a limit, stop considering the store with the same root as a merging candidate. Differential Revision: https://reviews.llvm.org/D65174 llvm-svn: 367472
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions