diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-05-27 20:02:42 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-05-27 20:02:42 +0000 |
commit | 63a9cef5c2857c94f26619ec926323b8624854a8 (patch) | |
tree | 4caf5554d348f1c0a460c9fea5e68d6c695dbed2 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 63fb333fa405dbebcf8a3596eafb01657ec17577 (diff) | |
download | bcm5719-llvm-63a9cef5c2857c94f26619ec926323b8624854a8.tar.gz bcm5719-llvm-63a9cef5c2857c94f26619ec926323b8624854a8.zip |
Delete a test that is no longer relevant.
According to PR2536, the old spiller had trouble with the IMPLICIT_DEF in this
code:
%reg1028<def> = MOV16rm %reg0, 1, %reg0, <ga:g_5>, Mem:LD(2,2) [g_5 + 0]
%reg1039<def> = IMPLICIT_DEF
%reg1038<def> = INSERT_SUBREG %reg1039, %reg1028, 2
%reg1025<def> = AND32ri %reg1038, 65534, %%EFLAGS<imp-def>
However, today we emit a zero-extending load instead:
%vreg10<def> = MOVZX32rm16 %noreg, 1, %noreg, <ga:@g_5>, %noreg; %mem:LD2[@g_5] GR32:%vreg10
%vreg0<def> = AND32ri %vreg10, 65534, %%EFLAGS<imp-def,dead>; %GR32:%vreg0,%vreg10
This makes the test pointless since it no longer creates the spiller hazard.
llvm-svn: 132210
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions