[all-commits] [llvm/llvm-project] baf931: [Hexagon] Reconsider getMask fix, return original ...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Sat Dec 12 11:30:09 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: baf931a8427dc29532aa42460604f23bf9a39708
      https://github.com/llvm/llvm-project/commit/baf931a8427dc29532aa42460604f23bf9a39708
  Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
  Date:   2020-12-12 (Sat, 12 Dec 2020)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp

  Log Message:
  -----------
  [Hexagon] Reconsider getMask fix, return original mask, convert later

The getPayload/getMask/getPassThrough functions should return values
that could be composed into a masked load/store without any additional
type casts. The previous fix violated that.
Instead, convert scalar mask to a vector right before rescaling.




More information about the All-commits mailing list