mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-26 22:42:46 +02:00
fa5e8e64e6
nodes. When a node is terminal it is pushed at the end of the list of the copies to coalesce instead of being completely ignored. In effect, this reduces its priority over non-terminal nodes. Because of that, we do not miss the rematerialization opportunities, nor the copies that can be merged with more complex, than the terminal rule, interference checks. Related to PR22768. llvm-svn: 233395
13 lines
402 B
LLVM
13 lines
402 B
LLVM
; RUN: llc -mtriple=x86_64-apple-darwin8 < %s | FileCheck %s
|
|
; RUN: llc -mtriple=x86_64-pc-linux < %s | FileCheck %s
|
|
; RUN: llc -mtriple=x86_64-apple-darwin8 -terminal-rule < %s | FileCheck %s
|
|
; RUN: llc -mtriple=x86_64-pc-linux -terminal-rule < %s | FileCheck %s
|
|
|
|
; CHECK-LABEL: return32
|
|
; CHECK-DAG: movq $0, (%rdi)
|
|
; CHECK-DAG: movq %rdi, %rax
|
|
; CHECK: retq
|
|
define i256 @return32() {
|
|
ret i256 0
|
|
}
|