commit | 8187a9b9ca0599bba667df456e46cd3ffc4670ed | [log] [tgz] |
---|---|---|
author | Matt Arsenault <Matthew.Arsenault@amd.com> | Mon Mar 13 18:14:02 2017 +0000 |
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Mon Mar 13 18:14:02 2017 +0000 |
tree | e6f04bf0e2cff73631e84e9b4f8e99ac94dbfde1 | |
parent | 2ebca363adc505ebdc78b7e29c78fe8b4ebf7a17 [diff] |
AMDGPU: Fold icmp/fcmp into icmp intrinsic The typical use is a library vote function which compares to 0. Fold the user condition into the intrinsic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297650 91177308-0d34-0410-b5e6-96231b3b80d8