[PATCH 2/5] R600: Use SIGN_EXTEND_INREG for SEXT loads

Matt Arsenault Matthew.Arsenault at amd.com
Mon May 25 18:58:00 PDT 2015


> On May 25, 2015, at 5:08 PM, Jan Vesely <jan.vesely at rutgers.edu> wrote:
> 
> ---
> 
> Probably just a missed optimization somewhere, nevertheless SIGN_EXTEND
> is more intuitive in this situation
> 
> lib/Target/R600/R600ISelLowering.cpp |   9 +--
> test/CodeGen/R600/load.ll            | 109 +++++++++++++----------------------
> 2 files changed, 42 insertions(+), 76 deletions(-)

LGTM. I’m surprised this wasn’t folded into this already requiring test changes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150525/b1530611/attachment.html>


More information about the llvm-commits mailing list