[all-commits] [llvm/llvm-project] 1fd118: Verify parameter alignment attribute
Luo, Yuanke via All-commits
all-commits at lists.llvm.org
Sat Mar 26 18:13:52 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1fd118ffc4b8d72d372de0fdbc5024ecf3dd3948
https://github.com/llvm/llvm-project/commit/1fd118ffc4b8d72d372de0fdbc5024ecf3dd3948
Author: Luo, Yuanke <yuanke.luo at intel.com>
Date: 2022-03-27 (Sun, 27 Mar 2022)
Changed paths:
M llvm/lib/IR/Verifier.cpp
A llvm/test/Verifier/param-attr-align.ll
Log Message:
-----------
Verify parameter alignment attribute
In DAGISel, the parameter alignment only have 4 bits to hold the value.
The encode(alignment) would plus the value by 1, so the max aligment that
ISel can support is 2^14. This patch verify align attribute for parameter.
Differential Revision: https://reviews.llvm.org/D122130
More information about the All-commits
mailing list