diff options
author | Philip Reames <preames@rivosinc.com> | 2022-12-19 15:24:45 -0800 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2022-12-19 15:25:43 -0800 |
commit | f1dcb9c36fe46c97a8f22c8b2544fb25d2e4cb61 (patch) | |
tree | e466ec4d7ae58c667d8b68153254777ded5e9edd /clang/lib/Serialization/ModuleManager.cpp | |
parent | bf6d7ca9870beb66766e2c087f5109eeb538f530 (diff) | |
download | llvm-f1dcb9c36fe46c97a8f22c8b2544fb25d2e4cb61.zip llvm-f1dcb9c36fe46c97a8f22c8b2544fb25d2e4cb61.tar.gz llvm-f1dcb9c36fe46c97a8f22c8b2544fb25d2e4cb61.tar.bz2 |
[SDAG] neg x with only low bit demanded is x
We have a version of this transform in InstCombine, but surprisingly not in SDAG. Even more surprisingly, this benefits RISCV, but no other target. This was surprising enough I double checked my build configuration to make sure all targets were enabled; they appear to be.
Differential Revision: https://reviews.llvm.org/D140324
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions