diff options
author | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2017-06-27 04:52:17 +0000 |
---|---|---|
committer | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2017-06-27 04:52:17 +0000 |
commit | 5102028f63b585bab42b2641bc9fcce71bb6ca99 (patch) | |
tree | 53c0a87d96609d44a6cb6fb09d46385c08a439f6 /llvm/test/CodeGen/PowerPC/floatPSA.ll | |
parent | 53b82b3df96f3cfba2027522a172ac9fcc65dcda (diff) | |
download | bcm5719-llvm-5102028f63b585bab42b2641bc9fcce71bb6ca99.tar.gz bcm5719-llvm-5102028f63b585bab42b2641bc9fcce71bb6ca99.zip |
[PowerPC] set optimization level in SelectionDAGISel
PowerPC backend does not pass the current optimization level to SelectionDAGISel and so SelectionDAGISel works with the default optimization level regardless of the current optimization level.
This patch makes the PowerPC backend set the optimization level correctly.
Differential Revision: https://reviews.llvm.org/D34615
llvm-svn: 306367
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/floatPSA.ll')
-rw-r--r-- | llvm/test/CodeGen/PowerPC/floatPSA.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/PowerPC/floatPSA.ll b/llvm/test/CodeGen/PowerPC/floatPSA.ll index ccda9d56a14..73dea19adbd 100644 --- a/llvm/test/CodeGen/PowerPC/floatPSA.ll +++ b/llvm/test/CodeGen/PowerPC/floatPSA.ll @@ -1,4 +1,4 @@ -; RUN: llc -verify-machineinstrs -O0 -mtriple=powerpc64-unknown-linux-gnu -fast-isel=false < %s | FileCheck %s +; RUN: llc -verify-machineinstrs -O2 -mtriple=powerpc64-unknown-linux-gnu -fast-isel=false < %s | FileCheck %s ; This verifies that single-precision floating point values that can't ; be passed in registers are stored in the rightmost word of the parameter |