[all-commits] [llvm/llvm-project] 4fb0c0: [clang][CodeGen] GetDefaultAlignTempAlloca uses pr...
Andy Wingo via All-commits
all-commits at lists.llvm.org
Mon Aug 23 06:09:57 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4fb0c083429ad3119096b3fadf01954952b68a25
https://github.com/llvm/llvm-project/commit/4fb0c083429ad3119096b3fadf01954952b68a25
Author: Andy Wingo <wingo at igalia.com>
Date: 2021-08-23 (Mon, 23 Aug 2021)
Changed paths:
M clang/lib/CodeGen/CGExpr.cpp
Log Message:
-----------
[clang][CodeGen] GetDefaultAlignTempAlloca uses preferred alignment
This function was defaulting to use the ABI alignment for the LLVM
type. Here we change to use the preferred alignment. This will allow
unification with GetTempAlloca, which if alignment isn't specified, uses
the preferred alignment.
Differential Revision: https://reviews.llvm.org/D108450
More information about the All-commits
mailing list