diff options
Diffstat (limited to 'test/CodeGen/ARM/Windows/alloca.ll')
| -rw-r--r-- | test/CodeGen/ARM/Windows/alloca.ll | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/Windows/alloca.ll b/test/CodeGen/ARM/Windows/alloca.ll index 6a3d002ab3b3..0f20ffbd36db 100644 --- a/test/CodeGen/ARM/Windows/alloca.ll +++ b/test/CodeGen/ARM/Windows/alloca.ll @@ -13,7 +13,9 @@ entry: } ; CHECK: bl num_entries -; CHECK: movs [[R1:r[0-9]+]], #7 +; Any register is actually valid here, but turns out we use lr, +; because we do not have the kill flag on R0. +; CHECK: mov.w [[R1:lr]], #7 ; CHECK: add.w [[R0:r[0-9]+]], [[R1]], [[R0]], lsl #2 ; CHECK: bic [[R0]], [[R0]], #7 ; CHECK: lsrs r4, [[R0]], #2 |
