mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
1ad854adba
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233395 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|