[PATCH] R600/SI: Fix div_scale intrinsic
    Matt Arsenault 
    Matthew.Arsenault at amd.com
       
    Sun Jun 22 17:08:47 PDT 2014
    
    
  
The choice of 1st operand does matter, so add it back to the intrinsic. Implement selection for it, and add verifier check for operand restriction that the first operand must equal one of the other 2.
http://reviews.llvm.org/D4247
Files:
  include/llvm/IR/IntrinsicsR600.td
  lib/Target/R600/AMDGPUISelDAGToDAG.cpp
  lib/Target/R600/AMDGPUISelLowering.cpp
  lib/Target/R600/SIInstrInfo.cpp
  lib/Target/R600/SIInstrInfo.td
  lib/Target/R600/SIInstructions.td
  test/CodeGen/R600/llvm.AMDGPU.div_scale.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4247.10732.patch
Type: text/x-patch
Size: 10350 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140623/bc203c27/attachment.bin>
    
    
More information about the llvm-commits
mailing list