diff options
author | Sanjay Patel <spatel@rotateright.com> | 2021-04-07 08:12:38 -0400 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2021-04-07 08:35:07 -0400 |
commit | 0333ed8e0c3763e50ec0c43e289967d407c14786 (patch) | |
tree | 196a474e083c8c2e3f287e281eb74b9e77952727 /clang/lib/Basic/SourceManager.cpp | |
parent | e571e56ae839e8f672eeb57f60581dac12b0688d (diff) | |
download | llvm-0333ed8e0c3763e50ec0c43e289967d407c14786.zip llvm-0333ed8e0c3763e50ec0c43e289967d407c14786.tar.gz llvm-0333ed8e0c3763e50ec0c43e289967d407c14786.tar.bz2 |
[InstCombine] move abs transform to helper function; NFC
The swap of the operands can affect later transforms that
are expecting a constant as operand 1. I don't think we
can trigger a bug with the current code, but I hit that
problem while drafting a new transform for min/max intrinsics.
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions