[PATCH] D34615: [PowerPC] set optimization level in SelectionDAGISel
Hiroshi Inoue via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 26 05:28:44 PDT 2017
inouehrs created this revision.
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.
https://reviews.llvm.org/D34615
Files:
lib/Target/PowerPC/PPC.h
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
lib/Target/PowerPC/PPCTargetMachine.cpp
test/CodeGen/PowerPC/anon_aggr.ll
test/CodeGen/PowerPC/floatPSA.ll
test/CodeGen/PowerPC/ppc64-align-long-double.ll
test/CodeGen/PowerPC/tls.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34615.103930.patch
Type: text/x-patch
Size: 10733 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170626/063e5c99/attachment.bin>
More information about the llvm-commits
mailing list