diff options
author | Sanjay Patel <spatel@rotateright.com> | 2021-01-10 12:31:05 -0500 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2021-01-10 12:32:21 -0500 |
commit | 0aa75fb12faa04e07ba1a6e334605357b6a159c9 (patch) | |
tree | da00fd665a044ebc58ef32e4431420d62cbdce63 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | e3d3dbd33930b7bc879b522d65f6d27c1677253e (diff) | |
download | llvm-0aa75fb12faa04e07ba1a6e334605357b6a159c9.zip llvm-0aa75fb12faa04e07ba1a6e334605357b6a159c9.tar.gz llvm-0aa75fb12faa04e07ba1a6e334605357b6a159c9.tar.bz2 |
[SLP] put verifyFunction call behind EXPENSIVE_CHECKS
A severe compile-time slowdown from this call is noted in:
https://llvm.org/PR48689
My naive fix was to put it under LLVM_DEBUG ( 267ff79 ),
but that's not limiting in the way we want.
This is a quick fix (or we could just remove the call completely
and rely on some later pass to discover potentially wrong IR?).
A bigger/better fix would be to improve/limit verifyFunction()
as noted in:
https://llvm.org/PR47712
Differential Revision: https://reviews.llvm.org/D94328
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions