[PATCH] D87050: GlobalISel: Add combines for G_TRUNC
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 14 16:01:30 PDT 2020
arsenm accepted this revision.
arsenm added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp:1864
+
+ LLT ShiftAmtTy = getTargetLowering().getPreferredShiftAmountTy(DstTy);
+ if (MRI.hasOneNonDBGUse(SrcReg) &&
----------------
Sink this down into the query statement?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87050/new/
https://reviews.llvm.org/D87050
More information about the llvm-commits
mailing list