[PATCH] D63032: [X86] When promoting i16 compare with immediate to i32, try to use sign_extend for eq/ne if the input is truncated from a type with enough sign its.
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 9 09:59:00 PDT 2019
xbolva00 added a comment.
Maybe similar opportunity? But not sure if improvement..
char c() {
return 11;
}
Clang
mov al, 11
GCC and ICC
mov eax 11
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63032/new/
https://reviews.llvm.org/D63032
More information about the llvm-commits
mailing list