summaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/TextAPIError.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-07-25 16:49:54 +0200
committerNikita Popov <npopov@redhat.com>2023-07-25 16:54:57 +0200
commit673a4671f3e8b7158d990f6456428175a6eac38c (patch)
tree4ff474c1852aa3bd8590be9763c94a6a5b81a372 /llvm/lib/TextAPI/TextAPIError.cpp
parentb6cf0ea4e6d48a0b9d1fa9678825a27092c796b3 (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