diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2020-01-24 17:01:27 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2020-01-24 17:49:17 +0300 |
commit | 1d0972ff5eab544579c400ee674d5c9c60391ee1 (patch) | |
tree | 3ac32e7fd2437ac854205bdb1e78c51cdf14a0a2 /llvm/lib/CodeGen/LiveDebugValues.cpp | |
parent | 08ebd8c79e4b961d57da6c7e06b27db017327e8c (diff) | |
download | llvm-1d0972ff5eab544579c400ee674d5c9c60391ee1.zip llvm-1d0972ff5eab544579c400ee674d5c9c60391ee1.tar.gz llvm-1d0972ff5eab544579c400ee674d5c9c60391ee1.tar.bz2 |
[Sema] Introduce MaximumAlignment value, to be used instead of magical constants
There is llvm::Value::MaximumAlignment, which is numerically
equivalent to these constants, but we can't use it directly
because we can't include llvm IR headers in clang Sema.
So instead, copy-paste the constant, and fixup the places to use it.
This was initially reviewed in https://reviews.llvm.org/D72998
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues.cpp')
0 files changed, 0 insertions, 0 deletions