declare i32 @llvm.amdgcn.ds.swizzle(i32, i32) // The second argument is an immediate of i32.
Details
Details
Diff Detail
Diff Detail
Event Timeline
include/clang/Basic/BuiltinsAMDGPU.def | ||
---|---|---|
79 | The constant operand should marked with I (and there should be a test that it errors with a non-constant) |
Comment Actions
Update based on Matt's comments:
- Mark constant integer argument type as "Ii"
- add error test when argument is not constant integer.
The constant operand should marked with I (and there should be a test that it errors with a non-constant)