[PATCH] D22478: AMDGPU: Fix i1 fp_to_int

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 18 14:24:42 PDT 2016


arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added subscribers: kzhuravl, arsenm.

R600's i1 fp_to_uint selected but was incorrect according to
what instcombine constant folds to.

https://reviews.llvm.org/D22478

Files:
  lib/Target/AMDGPU/AMDGPUInstructions.td
  lib/Target/AMDGPU/R600ISelLowering.cpp
  lib/Target/AMDGPU/R600ISelLowering.h
  lib/Target/AMDGPU/SIInstructions.td
  test/CodeGen/AMDGPU/fp_to_sint.f64.ll
  test/CodeGen/AMDGPU/fp_to_sint.ll
  test/CodeGen/AMDGPU/fp_to_uint.f64.ll
  test/CodeGen/AMDGPU/fp_to_uint.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22478.64384.patch
Type: text/x-patch
Size: 10890 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160718/dc0e1296/attachment.bin>


More information about the llvm-commits mailing list