diff options
author | Nikita Popov <npopov@redhat.com> | 2022-03-01 15:05:34 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-03-01 15:06:41 +0100 |
commit | 26748bb15a2d9895b7ea8e943ed95e055f808032 (patch) | |
tree | 8195d1a44f6e72775eeb097ca856cac786905b25 /clang/lib/Lex/ModuleMap.cpp | |
parent | d2c8aa0bf49f0af005392a05ca90389b6b8cd26a (diff) | |
download | llvm-26748bb15a2d9895b7ea8e943ed95e055f808032.zip llvm-26748bb15a2d9895b7ea8e943ed95e055f808032.tar.gz llvm-26748bb15a2d9895b7ea8e943ed95e055f808032.tar.bz2 |
[InstCombine] Slightly relax one-use check in abs canonicalization
Treat the icmp and sub symmetrically, and require that one of them
has one use, not the icmp in particular. This could be further
relaxed in the abs (but not nabs) case to not check one-use at
all.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions