Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NFC][AArch64] Handle processLogicalImmediate error
If processLogicalImmediate fails, we should return from the function without changing InsInstrs or DelInstrs. This happens for CodeGen/AArch64/urem-seteq-nonzero.ll LIT test as described in https://reviews.llvm.org/D99662#2662296. Callers of genAlternativeCodeSequence skip patterns where InsInstrs stays empty, so this does not cause any issues now. Differential Revision: https://reviews.llvm.org/D100047
- Loading branch information
Showing
1 changed file
with
18 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters