[all-commits] [llvm/llvm-project] a0addb: [InstSimplify] Reduce code duplication in icmp of ...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Sun Aug 2 06:47:37 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a0addbb4ec8c7bf791139699d46b08413c46eed7
https://github.com/llvm/llvm-project/commit/a0addbb4ec8c7bf791139699d46b08413c46eed7
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2020-08-02 (Sun, 02 Aug 2020)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
Log Message:
-----------
[InstSimplify] Reduce code duplication in icmp of binop folds (NFC)
For folds where we check for the binop on both the LHS and RHS,
extract a function that expects it on the LHS and call it with
swapped order.
More information about the All-commits
mailing list