diff options
Diffstat (limited to 'llvm/test/CodeGen/X86')
| -rw-r--r-- | llvm/test/CodeGen/X86/rot32.ll | 16 | ||||
| -rw-r--r-- | llvm/test/CodeGen/X86/rot64.ll | 16 |
2 files changed, 16 insertions, 16 deletions
diff --git a/llvm/test/CodeGen/X86/rot32.ll b/llvm/test/CodeGen/X86/rot32.ll index 29dd679ae9d..59041a1d9ec 100644 --- a/llvm/test/CodeGen/X86/rot32.ll +++ b/llvm/test/CodeGen/X86/rot32.ll @@ -127,7 +127,7 @@ define i32 @xfoo(i32 %x, i32 %y, i32 %z) nounwind readnone { ; SHLD64-LABEL: xfoo: ; SHLD64: # %bb.0: # %entry ; SHLD64-NEXT: movl %edi, %eax -; SHLD64-NEXT: shldl $7, %edi, %eax +; SHLD64-NEXT: shldl $7, %eax, %eax ; SHLD64-NEXT: retq ; ; BMI264-LABEL: xfoo: @@ -233,7 +233,7 @@ define i32 @xun(i32 %x, i32 %y, i32 %z) nounwind readnone { ; SHLD64-LABEL: xun: ; SHLD64: # %bb.0: # %entry ; SHLD64-NEXT: movl %edi, %eax -; SHLD64-NEXT: shldl $25, %edi, %eax +; SHLD64-NEXT: shldl $25, %eax, %eax ; SHLD64-NEXT: retq ; ; BMI264-LABEL: xun: @@ -341,7 +341,7 @@ define i32 @fshl(i32 %x) nounwind { ; SHLD64-LABEL: fshl: ; SHLD64: # %bb.0: ; SHLD64-NEXT: movl %edi, %eax -; SHLD64-NEXT: shldl $7, %edi, %eax +; SHLD64-NEXT: shldl $7, %eax, %eax ; SHLD64-NEXT: retq ; ; BMI264-LABEL: fshl: @@ -380,7 +380,7 @@ define i32 @fshl1(i32 %x) nounwind { ; SHLD64-LABEL: fshl1: ; SHLD64: # %bb.0: ; SHLD64-NEXT: movl %edi, %eax -; SHLD64-NEXT: shldl $1, %edi, %eax +; SHLD64-NEXT: shldl $1, %eax, %eax ; SHLD64-NEXT: retq ; ; BMI264-LABEL: fshl1: @@ -418,7 +418,7 @@ define i32 @fshl31(i32 %x) nounwind { ; SHLD64-LABEL: fshl31: ; SHLD64: # %bb.0: ; SHLD64-NEXT: movl %edi, %eax -; SHLD64-NEXT: shldl $31, %edi, %eax +; SHLD64-NEXT: shldl $31, %eax, %eax ; SHLD64-NEXT: retq ; ; BMI264-LABEL: fshl31: @@ -498,7 +498,7 @@ define i32 @fshr(i32 %x) nounwind { ; SHLD64-LABEL: fshr: ; SHLD64: # %bb.0: ; SHLD64-NEXT: movl %edi, %eax -; SHLD64-NEXT: shrdl $7, %edi, %eax +; SHLD64-NEXT: shrdl $7, %eax, %eax ; SHLD64-NEXT: retq ; ; BMI264-LABEL: fshr: @@ -537,7 +537,7 @@ define i32 @fshr1(i32 %x) nounwind { ; SHLD64-LABEL: fshr1: ; SHLD64: # %bb.0: ; SHLD64-NEXT: movl %edi, %eax -; SHLD64-NEXT: shrdl $1, %edi, %eax +; SHLD64-NEXT: shrdl $1, %eax, %eax ; SHLD64-NEXT: retq ; ; BMI264-LABEL: fshr1: @@ -575,7 +575,7 @@ define i32 @fshr31(i32 %x) nounwind { ; SHLD64-LABEL: fshr31: ; SHLD64: # %bb.0: ; SHLD64-NEXT: movl %edi, %eax -; SHLD64-NEXT: shrdl $31, %edi, %eax +; SHLD64-NEXT: shrdl $31, %eax, %eax ; SHLD64-NEXT: retq ; ; BMI264-LABEL: fshr31: diff --git a/llvm/test/CodeGen/X86/rot64.ll b/llvm/test/CodeGen/X86/rot64.ll index fdc7e9ab21a..8ecb2773f1c 100644 --- a/llvm/test/CodeGen/X86/rot64.ll +++ b/llvm/test/CodeGen/X86/rot64.ll @@ -77,7 +77,7 @@ define i64 @xfoo(i64 %x, i64 %y, i64 %z) nounwind readnone { ; SHLD-LABEL: xfoo: ; SHLD: # %bb.0: # %entry ; SHLD-NEXT: movq %rdi, %rax -; SHLD-NEXT: shldq $7, %rdi, %rax +; SHLD-NEXT: shldq $7, %rax, %rax ; SHLD-NEXT: retq ; ; BMI2-LABEL: xfoo: @@ -139,7 +139,7 @@ define i64 @xun(i64 %x, i64 %y, i64 %z) nounwind readnone { ; SHLD-LABEL: xun: ; SHLD: # %bb.0: # %entry ; SHLD-NEXT: movq %rdi, %rax -; SHLD-NEXT: shldq $57, %rdi, %rax +; SHLD-NEXT: shldq $57, %rax, %rax ; SHLD-NEXT: retq ; ; BMI2-LABEL: xun: @@ -201,7 +201,7 @@ define i64 @fshl(i64 %x) nounwind { ; SHLD-LABEL: fshl: ; SHLD: # %bb.0: ; SHLD-NEXT: movq %rdi, %rax -; SHLD-NEXT: shldq $7, %rdi, %rax +; SHLD-NEXT: shldq $7, %rax, %rax ; SHLD-NEXT: retq ; ; BMI2-LABEL: fshl: @@ -223,7 +223,7 @@ define i64 @fshl1(i64 %x) nounwind { ; SHLD-LABEL: fshl1: ; SHLD: # %bb.0: ; SHLD-NEXT: movq %rdi, %rax -; SHLD-NEXT: shldq $1, %rdi, %rax +; SHLD-NEXT: shldq $1, %rax, %rax ; SHLD-NEXT: retq ; ; BMI2-LABEL: fshl1: @@ -244,7 +244,7 @@ define i64 @fshl63(i64 %x) nounwind { ; SHLD-LABEL: fshl63: ; SHLD: # %bb.0: ; SHLD-NEXT: movq %rdi, %rax -; SHLD-NEXT: shldq $63, %rdi, %rax +; SHLD-NEXT: shldq $63, %rax, %rax ; SHLD-NEXT: retq ; ; BMI2-LABEL: fshl63: @@ -287,7 +287,7 @@ define i64 @fshr(i64 %x) nounwind { ; SHLD-LABEL: fshr: ; SHLD: # %bb.0: ; SHLD-NEXT: movq %rdi, %rax -; SHLD-NEXT: shrdq $7, %rdi, %rax +; SHLD-NEXT: shrdq $7, %rax, %rax ; SHLD-NEXT: retq ; ; BMI2-LABEL: fshr: @@ -309,7 +309,7 @@ define i64 @fshr1(i64 %x) nounwind { ; SHLD-LABEL: fshr1: ; SHLD: # %bb.0: ; SHLD-NEXT: movq %rdi, %rax -; SHLD-NEXT: shrdq $1, %rdi, %rax +; SHLD-NEXT: shrdq $1, %rax, %rax ; SHLD-NEXT: retq ; ; BMI2-LABEL: fshr1: @@ -330,7 +330,7 @@ define i64 @fshr63(i64 %x) nounwind { ; SHLD-LABEL: fshr63: ; SHLD: # %bb.0: ; SHLD-NEXT: movq %rdi, %rax -; SHLD-NEXT: shrdq $63, %rdi, %rax +; SHLD-NEXT: shrdq $63, %rax, %rax ; SHLD-NEXT: retq ; ; BMI2-LABEL: fshr63: |

