diff options
| author | Nikita Popov <npopov@redhat.com> | 2023-07-25 16:49:54 +0200 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2023-07-25 16:54:57 +0200 |
| commit | 673a4671f3e8b7158d990f6456428175a6eac38c (patch) | |
| tree | 4ff474c1852aa3bd8590be9763c94a6a5b81a372 /llvm/lib/TextAPI/TextAPIError.cpp | |
| parent | b6cf0ea4e6d48a0b9d1fa9678825a27092c796b3 (diff) | |
[ConstantFold] Avoid creation of undesirable binop
When commuting the operands, don't create a constant expression
for undesirable binops. Only invoke the constant folding function
in that case.
Diffstat (limited to 'llvm/lib/TextAPI/TextAPIError.cpp')
0 files changed, 0 insertions, 0 deletions
