You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling the following code with amdgcn (godbolt), the compiler fails.
It seems as long as one of the argument is non constant, instruction selection will fail.
I am wondering if this is a feature in AMDGCN, or a missing pattern?
I think the problem is... should it be implemented?
If we should, I'll leave it here for future reference.
If it shouldn't because the hardware specification says its not supported, shouldn't we at least lower it so the compiler doesn't crash?
To implement the intrinsic, we would need to write an expansion that produces equivalent code (which could be a lot), or somehow support libcall legalization
DataCorrupted
changed the title
[AMDGCN] can't select fpow when the second arg is from memory
[AMDGCN] can't select fpow when the second arg is non-constant
Dec 3, 2022
When compiling the following code with amdgcn (godbolt), the compiler fails.
It seems as long as one of the argument is non constant, instruction selection will fail.
I am wondering if this is a feature in AMDGCN, or a missing pattern?
Here is the stack trace:
The text was updated successfully, but these errors were encountered: