[PATCH] D66232: [InstCombine] Try to reuse constant from select in leading comparison
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 16 13:48:27 PDT 2019
xbolva00 added inline comments.
================
Comment at: llvm/test/Transforms/InstCombine/reuse-constant-from-select-in-icmp.ll:192
%t = icmp ult i32 %x, 65536
%r = select i1 %t, i32 65535, i32 42
ret i32 %r
----------------
Tests:
%r = select i1 %t, i32 65535, i32 65536
%r = select i1 %t, i32 65535, i32 65537
?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66232/new/
https://reviews.llvm.org/D66232
More information about the llvm-commits
mailing list