mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-05 18:27:59 +00:00
d42b05387d
Reenable post-legalize stores with constant merging computation and corresponding test case. * Properly truncate store merge constants * Disable merging of truncated stores floating points * Ensure merges of constant stores into a single vector are constructed from legal elements. Reviewers: eastig, efriedma Reviewed By: eastig Subscribers: spatel, rengolin, aemerson, javed.absar, kristof.beyls, hiraditya, llvm-commits Differential Revision: https://reviews.llvm.org/D40701 llvm-svn: 319899
9 lines
245 B
LLVM
9 lines
245 B
LLVM
; RUN: llc -mtriple=arm64-eabi -o - %s | FileCheck %s
|
|
|
|
define { i192, i192, i21, i192 } @foo(i192) {
|
|
; CHECK-LABEL: foo:
|
|
; CHECK-DAG: str xzr, [x8, #16]
|
|
; CHECK-DAG: str q0, [x8]
|
|
ret { i192, i192, i21, i192 } {i192 0, i192 1, i21 2, i192 3}
|
|
}
|