[all-commits] [llvm/llvm-project] d183f4: [Hexagon] Handle widening of truncation's operand ...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Tue Sep 8 14:17:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d183f472617dfedf23381be90612d713d0f439af
      https://github.com/llvm/llvm-project/commit/d183f472617dfedf23381be90612d713d0f439af
  Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
  Date:   2020-09-08 (Tue, 08 Sep 2020)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonISelLowering.h
    M llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
    A llvm/test/CodeGen/Hexagon/autohvx/isel-truncate-legal.ll

  Log Message:
  -----------
  [Hexagon] Handle widening of truncation's operand with legal result

Failing example: v8i8 = truncate v8i32. v8i8 is legal, but v8i32 was
widened to HVX. Make sure that v8i8 does not get altered (even if it's
changed to another legal type).




More information about the All-commits mailing list