mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 06:33:21 +00:00
Use regex to remove false dependencies on register allocation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138137 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0e71288943
commit
a17f669ef5
@ -6,9 +6,9 @@
|
|||||||
define i32 @t(i32 %a, i32 %b, i32 %c, i32 %d) nounwind readnone {
|
define i32 @t(i32 %a, i32 %b, i32 %c, i32 %d) nounwind readnone {
|
||||||
entry:
|
entry:
|
||||||
; CHECK: t:
|
; CHECK: t:
|
||||||
; CHECK: muls r2, r2, r3
|
; CHECK: muls [[REG:(r[0-9]+)]], r2, r3
|
||||||
; CHECK-NEXT: mul r0, r0, r1
|
; CHECK-NEXT: mul [[REG2:(r[0-9]+)]], r0, r1
|
||||||
; CHECK-NEXT: muls r0, r0, r2
|
; CHECK-NEXT: muls r0, [[REG2]], [[REG]]
|
||||||
%0 = mul nsw i32 %a, %b
|
%0 = mul nsw i32 %a, %b
|
||||||
%1 = mul nsw i32 %c, %d
|
%1 = mul nsw i32 %c, %d
|
||||||
%2 = mul nsw i32 %0, %1
|
%2 = mul nsw i32 %0, %1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user