[llvm] [profcheck] Add unknown branch weights to expanded cmpxchg loop. (PR #165841)

Jin Huang via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 4 15:04:57 PST 2025


================
@@ -1259,8 +1260,7 @@ Value *AtomicExpandImpl::insertRMWLLSCLoop(
   BasicBlock *BB = Builder.GetInsertBlock();
   Function *F = BB->getParent();
 
-  assert(AddrAlign >=
-             F->getDataLayout().getTypeStoreSize(ResultTy) &&
+  assert(AddrAlign >= F->getDataLayout().getTypeStoreSize(ResultTy) &&
----------------
jinhuang1102 wrote:

restore the changes. Thx

https://github.com/llvm/llvm-project/pull/165841


More information about the llvm-commits mailing list