diff options
| author | Eli Friedman <efriedma@codeaurora.org> | 2018-07-11 23:26:35 +0000 |
|---|---|---|
| committer | Eli Friedman <efriedma@codeaurora.org> | 2018-07-11 23:26:35 +0000 |
| commit | 0319c28459203f4a0c8bb456d377357f752c6bc2 (patch) | |
| tree | aef19a19f86ded87eb383d66fff9a435b922fe59 /llvm/test/CodeGen/X86/pr32282.ll | |
| parent | b884ed186eb705c4c5b5ebfcc864f3cfc8794bbb (diff) | |
| download | bcm5719-llvm-0319c28459203f4a0c8bb456d377357f752c6bc2.tar.gz bcm5719-llvm-0319c28459203f4a0c8bb456d377357f752c6bc2.zip | |
[CodeGen] Emit more precise AssertZext/AssertSext nodes.
This is marginally helpful for removing redundant extensions, and the
code is easier to read, so it seems like an all-around win. In the new
test i8-phi-ext.ll, we used to emit an AssertSext i8; now we emit an
AssertZext i2, which allows the extension of the return value to be
eliminated.
Differential Revision: https://reviews.llvm.org/D49004
llvm-svn: 336868
Diffstat (limited to 'llvm/test/CodeGen/X86/pr32282.ll')
| -rw-r--r-- | llvm/test/CodeGen/X86/pr32282.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/pr32282.ll b/llvm/test/CodeGen/X86/pr32282.ll index e5547fce157..ed1ec07c851 100644 --- a/llvm/test/CodeGen/X86/pr32282.ll +++ b/llvm/test/CodeGen/X86/pr32282.ll @@ -56,7 +56,7 @@ define void @foo() { ; X64-NEXT: # %bb.2: ; X64-NEXT: xorl %eax, %eax ; X64-NEXT: xorl %edx, %edx -; X64-NEXT: idivq %rcx +; X64-NEXT: divq %rcx ; X64-NEXT: jmp .LBB0_3 ; X64-NEXT: .LBB0_1: ; X64-NEXT: xorl %eax, %eax |

