mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
ededcfd109
Writes to p3:0 do not produce new values, we should bar any .new consumer trying to use it as a producer.
20 lines
560 B
ArmAsm
20 lines
560 B
ArmAsm
# RUN: not llvm-mc -arch=hexagon %s 2>%t; FileCheck --implicit-check-not=error %s <%t
|
|
|
|
.Lfoo:
|
|
{ p3:0 = r0
|
|
if (!p0.new) jump:t .Lfoo }
|
|
|
|
# CHECK: error: register `P0' used with `.new' but not validly modified in the same packet
|
|
|
|
{ c4 = r0
|
|
if (!p0.new) jump:t .Lfoo }
|
|
|
|
# CHECK: error: register `P0' used with `.new' but not validly modified in the same packet
|
|
|
|
{ c4 = r0
|
|
p0 = r0
|
|
if (!p0.new) jump:t .Lfoo }
|
|
|
|
# CHECK: error: register `P0' used with `.new' but not validly modified in the same packet
|
|
# CHECK: error: register `P3_0' modified more than once
|