[all-commits] [llvm/llvm-project] 710a55: [GlobalIsel] Revisit ext of ext. (#102769)
Thorsten Schütt via All-commits
all-commits at lists.llvm.org
Fri Aug 16 06:39:17 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 710a552dedbf1a28cebac78b481cb78138fbc454
https://github.com/llvm/llvm-project/commit/710a552dedbf1a28cebac78b481cb78138fbc454
Author: Thorsten Schütt <schuett at gmail.com>
Date: 2024-08-16 (Fri, 16 Aug 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/CombinerHelperCasts.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/combine-ext.mir
Log Message:
-----------
[GlobalIsel] Revisit ext of ext. (#102769)
Credits:
https://reviews.llvm.org/D86516
combine-ext.mir
Notable semantic changes:
InstCombine does not mix zero and sign extend,
see CastInst::isEliminableCastPair.
New version has legality checks.
Folds sext/zext of anyext -> sext/zext
Support for nneg
Future work:
nneg zext of sext -> sext
sext of nneg zext -> sext
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list