Mehdi Amini
1fef2dd6b7
Use StringRef in Pass/PassManager APIs (NFC)
...
llvm-svn: 283004
2016-10-01 02:56:57 +00:00
Konstantin Zhuravlyov
ebf3beb03f
[AMDGPU] Promote uniform i16 ops to i32 ops for targets that have 16 bit instructions
...
Differential Revision: https://reviews.llvm.org/D24125
llvm-svn: 282624
2016-09-28 20:05:39 +00:00
Matt Arsenault
7c41fae233
AMDGPU: Use rcp for fdiv 1, x with fpmath metadata
...
Using rcp should be OK for safe math usually, so this
should not be replacing the original fdiv.
llvm-svn: 276823
2016-07-26 23:25:44 +00:00
Matt Arsenault
75622c9e16
AMDGPU: Change fdiv lowering based on !fpmath metadata
...
If 2.5 ulp is acceptable, denormals are not required, and
isn't a reciprocal which will already be handled, replace
with a faster fdiv.
Simplify the lowering tests by using per function
subtarget features.
llvm-svn: 276051
2016-07-19 23:16:53 +00:00
Matt Arsenault
c4e8acd575
AMDGPU: Add stub custom CodeGenPrepare pass
...
This will do various things including ones
CodeGenPrepare does, but with knowledge of uniform
values.
llvm-svn: 273657
2016-06-24 07:07:55 +00:00