Go to file
Juergen Ributzka 6597d319fe [FastISel][AArch64] Fix a latent bug in floating-point materialization.
The floating-point value positive zero (+0.0) is a valid immedate value
according to isFPImmLegal. As a result AArch64 FastISel went ahead and
used the immediate version of fmov to materialize the constant.

The problem is that the immediate version of fmov cannot encode an imediate for
postive zero. Instead a fmov from the zero register was supposed to be used in
this case.

This fix adds handling for this special case and uses fmov from the zero
register to materialize a positive zero (negative zeroes go to the constant
pool).

There is no test case for this, because this code is currently dead. It will be
enabled in a future commit and I will add a test case in a separate commit
after that.

This fixes <rdar://problem/18027157>.

llvm-svn: 215753
2014-08-15 18:55:55 +00:00
clang [cleanup] Factor out some checks. NFC. 2014-08-15 18:50:00 +00:00
clang-tools-extra ClangTidyTests: Suppress FixHeaderGuards on win32 for now. 2014-08-13 22:12:38 +00:00
compiler-rt Follow-up to r215724: fix a lint warning 2014-08-15 16:10:02 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc relational: Add islessequal(floatN) builtin 2014-08-01 21:50:59 +00:00
libcxx Revert get testsuite running on FreeBSD. 2014-08-15 18:49:28 +00:00
libcxxabi Fix the CMake build on Mac when setting MACOSX_DEPLOYMENT_TARGET=10.6 2014-08-12 18:18:07 +00:00
lld [mach-o] Support -F and -framework options in darwin driver 2014-08-14 22:20:41 +00:00
lldb Missed a few places where we need to report unreadable executables. 2014-08-15 18:03:30 +00:00
llvm [FastISel][AArch64] Fix a latent bug in floating-point materialization. 2014-08-15 18:55:55 +00:00
openmp Commit PowerPC64 support from Carlo Bertolli at IBM. 2014-08-07 10:12:54 +00:00
polly Added support for modulo expressions 2014-08-15 01:14:11 +00:00