diff options
author | Juergen Ributzka <juergen@apple.com> | 2014-10-16 16:41:15 +0000 |
---|---|---|
committer | Juergen Ributzka <juergen@apple.com> | 2014-10-16 16:41:15 +0000 |
commit | 03a0611061448f1133229c37e18d2ffa629ace7a (patch) | |
tree | fd693e81c26a9ce50c59310b787beb9b7b0a0835 /clang/tools/driver/driver.cpp | |
parent | 04ee8aa1fc35009836dc24a0c9c56b1fd5a32378 (diff) | |
download | bcm5719-llvm-03a0611061448f1133229c37e18d2ffa629ace7a.tar.gz bcm5719-llvm-03a0611061448f1133229c37e18d2ffa629ace7a.zip |
[AArch64] Fix miscompile of sdiv-by-power-of-2.
When the constant divisor was larger than 32bits, then the optimized code
generated for the AArch64 backend would emit the wrong code, because the shift
was defined as a shift of a 32bit constant '(1<<Lg2(divisor))' and we would
loose the upper 32bits.
This fixes rdar://problem/18678801.
llvm-svn: 219934
Diffstat (limited to 'clang/tools/driver/driver.cpp')
0 files changed, 0 insertions, 0 deletions