mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 23:48:49 +00:00
d1ae63365b
Recent changes to the instruction selection code exposed a problem where a dead node was not removed on time. This node had both input and output chains, which lead to an apparent cycle. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269458 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
475 B
LLVM
19 lines
475 B
LLVM
; RUN: llc -march=hexagon < %s | FileCheck %s
|
|
; CHECK: = memw{{.*}}circ
|
|
|
|
target triple = "hexagon"
|
|
|
|
@l = external global i32, align 4
|
|
|
|
; Function Attrs: nounwind optsize
|
|
define void @circ2() #0 {
|
|
entry:
|
|
store i32 0, i32* @l, align 4
|
|
%0 = tail call i8* @llvm.hexagon.circ.ldw(i8* undef, i8* undef, i32 150995968, i32 4)
|
|
unreachable
|
|
}
|
|
|
|
declare i8* @llvm.hexagon.circ.ldw(i8*, i8*, i32, i32) #1
|
|
attributes #0 = { nounwind optsize }
|
|
attributes #1 = { argmemonly nounwind }
|