Skip to content

Commit 07b4ef6

Browse files
committed
address formatting and comments
1 parent 3c21269 commit 07b4ef6

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

clang/lib/CodeGen/CGBuiltin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20486,7 +20486,7 @@ static NVPTXMmaInfo getNVPTXMmaInfo(unsigned BuiltinID) {
2048620486
}
2048720487

2048820488
static Value *MakeLdu(unsigned IntrinsicID, CodeGenFunction &CGF,
20489-
const CallExpr *E) {
20489+
const CallExpr *E) {
2049020490
Value *Ptr = CGF.EmitScalarExpr(E->getArg(0));
2049120491
QualType ArgType = E->getArg(0)->getType();
2049220492
clang::CharUnits Align = CGF.CGM.getNaturalPointeeTypeAlignment(ArgType);

llvm/docs/ReleaseNotes.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,14 @@ Changes to the LLVM IR
9393
* `llvm.nvvm.ptr.shared.to.gen`
9494
* `llvm.nvvm.ptr.constant.to.gen`
9595
* `llvm.nvvm.ptr.local.to.gen`
96-
96+
97+
* Remove the following intrinsics which can be relaced with a load from
98+
addrspace(1) with an !invariant.load metadata
99+
100+
* `llvm.nvvm.ldg.global.i`
101+
* `llvm.nvvm.ldg.global.f`
102+
* `llvm.nvvm.ldg.global.p`
103+
97104
* Operand bundle values can now be metadata strings.
98105

99106
Changes to LLVM infrastructure

0 commit comments

Comments
 (0)