[all-commits] [llvm/llvm-project] 769179: [Hexagon] Improve casting of boolean HVX vectors t...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Wed Feb 26 10:47:02 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7691790dfd1011d08f5468f63952d7690755aad4
      https://github.com/llvm/llvm-project/commit/7691790dfd1011d08f5468f63952d7690755aad4
  Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
  Date:   2020-02-26 (Wed, 26 Feb 2020)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
    M llvm/lib/Target/Hexagon/HexagonISelLowering.h
    M llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
    M llvm/test/CodeGen/Hexagon/autohvx/isel-hvx-pred-bitcast.ll
    A llvm/test/CodeGen/Hexagon/autohvx/isel-store-bitcast-v128i1.ll
    M llvm/test/CodeGen/Hexagon/hvx-bitcast-v64i1.ll
    M llvm/test/CodeGen/Hexagon/store-vector-pred.ll

  Log Message:
  -----------
  [Hexagon] Improve casting of boolean HVX vectors to scalars

- Mark memory access for bool vectors as disallowed in target lowering.
  This will prevent combining bitcasts of bool vectors with stores.
- Replace the actual bitcasting code with a faster version.
- Handle casting of v16i1 to i16.




More information about the All-commits mailing list