We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a480db8 commit fa3d733Copy full SHA for fa3d733
IGC/Compiler/CISACodeGen/helper.cpp
@@ -309,7 +309,7 @@ namespace IGC
309
{
310
llvm::StoreInst* SI = new llvm::StoreInst(Val, Ptr, Orig);
311
SI->setVolatile(Orig->isVolatile());
312
- SI->setAlignment(IGCLLVM::getAlign(Orig->getAlignment()));
+ SI->setAlignment(IGCLLVM::getCorrectAlign(Orig->getAlignment()));
313
if (SI->isAtomic())
314
315
SI->setAtomic(Orig->getOrdering(), Orig->getSyncScopeID());
0 commit comments