[PATCH] D67062: AMDGPU/GlobalISel: Make 16-bit constants legal

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 2 00:53:49 PDT 2019


arsenm created this revision.
arsenm added reviewers: tstellar, nhaehnle, kerbowa.
Herald added subscribers: Petar.Avramovic, t-tye, tpr, dstuttard, rovka, yaxunl, wdng, jvesely, kzhuravl.

This is mostly for the benefit of patterns which use 16-bit constants.


https://reviews.llvm.org/D67062

Files:
  lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-sext.mir
  test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-zext.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-constant.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-extract-vector-elt.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-extract.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-fcmp.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-fconstant.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-fcopysign.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-icmp.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-implicit-def.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-lshr.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-merge-values.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-phi.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-select.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-smax.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-smin.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-umax.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-umin.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67062.218301.patch
Type: text/x-patch
Size: 102440 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190902/0a998da9/attachment-0001.bin>


More information about the llvm-commits mailing list