projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74e6a5b
)
[AMDGPU] Fix comment for llvm.amdgcn.div.scale. NFC.
author
Austin Kerbow
<Austin.Kerbow@amd.com>
Mon, 13 Apr 2020 18:58:15 +0000
(11:58 -0700)
committer
Austin Kerbow
<Austin.Kerbow@amd.com>
Mon, 13 Apr 2020 19:04:55 +0000
(12:04 -0700)
Update comment to reflect actual lowering.
llvm/include/llvm/IR/IntrinsicsAMDGPU.td
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
b/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
index
d1eae65
..
b5f9685
100644
(file)
--- a/
llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+++ b/
llvm/include/llvm/IR/IntrinsicsAMDGPU.td
@@
-217,8
+217,8
@@
def int_amdgcn_s_waitcnt : GCCBuiltin<"__builtin_amdgcn_s_waitcnt">,
def int_amdgcn_div_scale : Intrinsic<
// 1st parameter: Numerator
// 2nd parameter: Denominator
- // 3rd parameter:
Constant to select between first and
- //
second. (0 = first, 1 = second
).
+ // 3rd parameter:
Select quotient. Must equal Numerator or Denominator.
+ //
(0 = Denominator, 1 = Numerator
).
[llvm_anyfloat_ty, llvm_i1_ty],
[LLVMMatchType<0>, LLVMMatchType<0>, llvm_i1_ty],
[IntrNoMem, IntrSpeculatable, ImmArg<2>]