[PATCH] D118764: Pre-commit test cases for DAG combine folds of SSHLSAT/USHLSAT -> SHL

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 6 07:59:46 PST 2022


dmgreen accepted this revision.
dmgreen added a comment.
This revision is now accepted and ready to land.

New test are always fine - feel free to commit without review as needed, you seem to know what you are doing.



================
Comment at: llvm/test/CodeGen/AArch64/sshl_sat.ll:131
+; Fold shlsat -> shl, if known not to saturate.
+define i16 @combine_shlsat_to_shl(i16 %x, i16 %y) nounwind {
+; CHECK-LABEL: combine_shlsat_to_shl:
----------------
These are not using %y :)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118764/new/

https://reviews.llvm.org/D118764



More information about the llvm-commits mailing list