On Wed, Dec 18, 2013 at 04:50:53PM -0500, Jan Vesely wrote:
v2: Add ftrunc-TRUNC pattern instead of replacing int_AMDGPU_trunc
v3: move ftrunc pattern next to TRUNC definition, it's available since R600
I've pushed this patch, thanks!
I forgot to remind you to add a test case, so I added one
v2: Add ftrunc-TRUNC pattern instead of replacing int_AMDGPU_trunc
v3: move ftrunc pattern next to TRUNC definition, it's available since R600
Signed-off-by: Jan Vesely jan.ves...@rutgers.edu
---
lib/Target/R600/AMDGPUISelLowering.cpp | 2 ++
lib/Target/R600/R600Instructions.td| 3 +++
2