[all-commits] [llvm/llvm-project] e92a27: [InstCombine] Verify CmpInst is equality in `foldI...
goldsteinn via All-commits
all-commits at lists.llvm.org
Thu Jun 15 10:21:44 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e92a27bcb7bfca7849be7d709f81be7bdbfd353e
https://github.com/llvm/llvm-project/commit/e92a27bcb7bfca7849be7d709f81be7bdbfd353e
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/ispow2.ll
Log Message:
-----------
[InstCombine] Verify CmpInst is equality in `foldICmpPow2Test`; PR63327
When D152728 hoisted the code to a helper function, it moved the call
to the helper outside of `foldICmpEquality`, so an equality check is
needed in the helper.
Reviewed By: nikic, fhahn
Differential Revision: https://reviews.llvm.org/D153041
More information about the All-commits
mailing list