diff options
author | Jim Grosbach <grosbach@apple.com> | 2014-09-23 22:16:02 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2014-09-23 22:16:02 +0000 |
commit | 57fd2623c33401e72c8368ceadb87e8f490df647 (patch) | |
tree | 53519865bcd6e5bdda9b5c661147c6dc208937ad /llvm/lib/Transforms/Utils/CtorUtils.cpp | |
parent | 9a94bd6fa4850b58287a29d52fe4f3a18f66c87a (diff) | |
download | bcm5719-llvm-57fd2623c33401e72c8368ceadb87e8f490df647.tar.gz bcm5719-llvm-57fd2623c33401e72c8368ceadb87e8f490df647.zip |
AArch64: allow constant expressions for shifted reg literals
e.g., add w1, w2, w3, lsl #(2 - 1)
This sort of thing comes up in pre-processed assembly playing macro games.
Still validate that it's an assembly time constant. The early exit error check
was just a bit overzealous and disallowed a left paren.
rdar://18430542
llvm-svn: 218336
Diffstat (limited to 'llvm/lib/Transforms/Utils/CtorUtils.cpp')
0 files changed, 0 insertions, 0 deletions