Skip to content
Commit 1658b8d7 authored by Jay Foad's avatar Jay Foad
Browse files

[AMDGPU] Avoid using s_cmpk when src0 is not register

The hardware spec require src0 of s_cmpk should be a register. So, we
should not optimize s_cmp to s_cmpk if src0 is not register.

Patch by Ruiling Song!
parent 3667d87a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment