Go to file
Lei Huang 168d14b143 [PowerPC] Reduce register pressure by not materializing a constant just for use as an index register for X-Form loads/stores.
For this example:
float test (int *arr) {
    return arr[2];
}

We currently generate the following code:
  li r4, 8
  lxsiwax f0, r3, r4
  xscvsxdsp f1, f0

With this patch, we will now generate:
  addi r3, r3, 8
  lxsiwax f0, 0, r3
  xscvsxdsp f1, f0

Originally reported in: https://bugs.llvm.org/show_bug.cgi?id=27204
Differential Revision: https://reviews.llvm.org/D35027

llvm-svn: 307553
2017-07-10 16:44:45 +00:00
clang Avoid white spaces in file names. NFC 2017-07-10 16:05:48 +00:00
clang-tools-extra Improve error message when run from a buffer that doesn't visit a file 2017-07-10 13:49:18 +00:00
compiler-rt Fix a build failure due to r307541 (tsan_rtl_aarch64.S:54: Error: unknown pseudo-op: `.'). 2017-07-10 15:58:22 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc generic: add missing get_work_dim include 2017-06-02 15:58:35 +00:00
libcxx Fix issues with UBSAN test configuration. 2017-07-10 04:32:21 +00:00
libcxxabi [Demangler] NFC: Don't make the parse_* functions templates 2017-07-08 18:54:08 +00:00
libunwind Add a test harness 2017-07-06 15:20:12 +00:00
lld Revert "Revert "Revert "Revert "Switch external cvtres.exe for llvm's own resource library."""" 2017-07-08 03:06:10 +00:00
lldb Don't access Python objects while not holding the GIL. 2017-07-09 23:32:15 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [PowerPC] Reduce register pressure by not materializing a constant just for use as an index register for X-Form loads/stores. 2017-07-10 16:44:45 +00:00
openmp Add a .arcconfig file for openmp. 2017-07-08 16:09:47 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Remove freed InvalidDomains from InvalidDomainMap. 2017-07-09 15:47:17 +00:00