Skip to content

Commit 9ec2e21

Browse files
SC llvm teamSC llvm team
authored andcommitted
Merged main:5b5ef254a341 into amd-gfx:df6887bb62f3
Local branch amd-gfx df6887b Merged main:2e3d3903e624 into amd-gfx:bc2da11325e0 Remote branch main 5b5ef25 [RISCV] Fix typo: vmv.x.i -> vmv.v.i
2 parents df6887b + 5b5ef25 commit 9ec2e21

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

libc/src/compiler/generic/__stack_chk_fail.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
extern "C" {
1414

15+
uintptr_t __stack_chk_guard = static_cast<uintptr_t>(0xa9fff01234);
16+
1517
void __stack_chk_fail(void) {
1618
LIBC_NAMESPACE::write_to_stderr("stack smashing detected\n");
1719
LIBC_NAMESPACE::abort();

llvm/include/llvm/Config/llvm-config.h.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
/* Indicate that this is LLVM compiled from the amd-gfx branch. */
1818
#define LLVM_HAVE_BRANCH_AMD_GFX
19-
#define LLVM_MAIN_REVISION 522535
19+
#define LLVM_MAIN_REVISION 522537
2020

2121
/* Define if LLVM_ENABLE_DUMP is enabled */
2222
#cmakedefine LLVM_ENABLE_DUMP

llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1663,7 +1663,7 @@ InstructionCost RISCVTTIImpl::getStoreImmCost(Type *Ty,
16631663
return 0;
16641664

16651665
if (OpInfo.isUniform())
1666-
// vmv.x.i, vmv.v.x, or vfmv.v.f
1666+
// vmv.v.i, vmv.v.x, or vfmv.v.f
16671667
// We ignore the cost of the scalar constant materialization to be consistent
16681668
// with how we treat scalar constants themselves just above.
16691669
return 1;

0 commit comments

Comments
 (0)