diff options
| author | Nirav Dave <niravd@google.com> | 2019-02-22 16:20:34 +0000 |
|---|---|---|
| committer | Nirav Dave <niravd@google.com> | 2019-02-22 16:20:34 +0000 |
| commit | 46f939c1183560064effc6b838ffdc397df265ac (patch) | |
| tree | c31fb9265fa3de0d10d39d7f73393841b98e934f /llvm/test/CodeGen/PowerPC | |
| parent | 44037d7a6377ec8e5542cced73583283334b516b (diff) | |
| download | bcm5719-llvm-46f939c1183560064effc6b838ffdc397df265ac.tar.gz bcm5719-llvm-46f939c1183560064effc6b838ffdc397df265ac.zip | |
Disable big-endian constant store merges from rL354676.
llvm-svn: 354677
Diffstat (limited to 'llvm/test/CodeGen/PowerPC')
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/constant-combines.ll | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/PowerPC/constant-combines.ll b/llvm/test/CodeGen/PowerPC/constant-combines.ll index bd14509e2ef..dd40b75d58f 100644 --- a/llvm/test/CodeGen/PowerPC/constant-combines.ll +++ b/llvm/test/CodeGen/PowerPC/constant-combines.ll @@ -1,13 +1,14 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc -mtriple=powerpc64-unknown-linux-gnu -o - %s | FileCheck --check-prefix=BE %s +; RUN: llc -mtriple=powerpc64-unknown-linux-gnu -o - %s | FileCheck --check-prefix=BE %s ; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu -o - %s | FileCheck --check-prefix=LE %s define void @fold_constant_stores_loaddr(i8* %i8_ptr) { ; BE-LABEL: fold_constant_stores_loaddr: ; BE: # %bb.0: # %entry -; BE-NEXT: li 4, 85 -; BE-NEXT: sldi 4, 4, 57 +; BE-NEXT: li 4, 0 ; BE-NEXT: std 4, 0(3) +; BE-NEXT: li 4, -86 +; BE-NEXT: stb 4, 0(3) ; BE-NEXT: blr ; ; LE-LABEL: fold_constant_stores_loaddr: @@ -26,9 +27,10 @@ entry: define void @fold_constant_stores_hiaddr(i8* %i8_ptr) { ; BE-LABEL: fold_constant_stores_hiaddr: ; BE: # %bb.0: # %entry -; BE-NEXT: li 4, 85 -; BE-NEXT: sldi 4, 4, 57 +; BE-NEXT: li 4, 0 ; BE-NEXT: std 4, 0(3) +; BE-NEXT: li 4, -86 +; BE-NEXT: stb 4, 0(3) ; BE-NEXT: blr ; ; LE-LABEL: fold_constant_stores_hiaddr: |

