mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 23:32:27 +00:00
Enable -coalescer-commute-instrs by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47623 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
390724618c
commit
4d535cadf1
@ -55,7 +55,7 @@ namespace {
|
|||||||
|
|
||||||
static cl::opt<bool>
|
static cl::opt<bool>
|
||||||
CommuteDef("coalescer-commute-instrs",
|
CommuteDef("coalescer-commute-instrs",
|
||||||
cl::init(false), cl::Hidden);
|
cl::init(true), cl::Hidden);
|
||||||
|
|
||||||
static cl::opt<int>
|
static cl::opt<int>
|
||||||
CommuteLimit("commute-limit",
|
CommuteLimit("commute-limit",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
; RUN: llvm-as < %s | llc -o - -march=x86 -mattr=+mmx | grep paddq | count 2
|
; RUN: llvm-as < %s | llc -o - -march=x86 -mattr=+mmx | grep paddq | count 2
|
||||||
; RUN: llvm-as < %s | llc -o - -march=x86 -mattr=+mmx | grep movq | count 3
|
; RUN: llvm-as < %s | llc -o - -march=x86 -mattr=+mmx | grep movq | count 2
|
||||||
|
|
||||||
define <1 x i64> @unsigned_add3(<1 x i64>* %a, <1 x i64>* %b, i32 %count) {
|
define <1 x i64> @unsigned_add3(<1 x i64>* %a, <1 x i64>* %b, i32 %count) {
|
||||||
entry:
|
entry:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin -mattr=+sse2 -coalescer-commute-instrs | not grep movaps
|
; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin -mattr=+sse2 | not grep movaps
|
||||||
; PR1877
|
; PR1877
|
||||||
|
|
||||||
@NNTOT = weak global i32 0 ; <i32*> [#uses=1]
|
@NNTOT = weak global i32 0 ; <i32*> [#uses=1]
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin -mattr=+sse2 -coalescer-commute-instrs | grep mov | count 6
|
; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin -mattr=+sse2 | grep mov | count 6
|
||||||
|
|
||||||
%struct.quad_struct = type { i32, i32, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct* }
|
%struct.quad_struct = type { i32, i32, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct* }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user