[all-commits] [llvm/llvm-project] a7b898: [InstCombine] Disallow constant expressions in `no...
Roman Lebedev via All-commits
all-commits at lists.llvm.org
Tue Dec 20 08:57:40 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a7b898b49abb90dd289d7c9adf5f9a6350787347
https://github.com/llvm/llvm-project/commit/a7b898b49abb90dd289d7c9adf5f9a6350787347
Author: Roman Lebedev <lebedev.ri at gmail.com>
Date: 2022-12-20 (Tue, 20 Dec 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Log Message:
-----------
[InstCombine] Disallow constant expressions in `not` canonicalization
As per post-commit feedback - we generally do not like Constant Expressions,
and trying to deal with them leads to inconsistent results
that may very well be non-optimal. So just don't.
More information about the All-commits
mailing list