[BranchRelaxation] Move faulting_op check into callee [nfc]
authorPhilip Reames <preames@rivosinc.com>
Fri, 27 Jan 2023 19:23:53 +0000 (11:23 -0800)
committerPhilip Reames <listmail@philipreames.com>
Fri, 27 Jan 2023 19:24:34 +0000 (11:24 -0800)
commitc549da959b81902789a17918c5b95d4449e6fdfa
tree35a5eb07ed0fd4fda6866b44badfdb3ed6b13923
parent0eff46f87f16772f93bdc584865e945162aff170
[BranchRelaxation] Move faulting_op check into callee [nfc]

Mostly to remove a special case from an upcoming patch.
llvm/lib/CodeGen/BranchRelaxation.cpp