Skip to content
  • Jakob Stoklund Olesen's avatar
    Pseudo CMOV instructions don't clobber EFLAGS. · 1f72dd40
    Jakob Stoklund Olesen authored
    The explanation about a 0 argument being materialized as xor is no
    longer valid.  Rematerialization will check if EFLAGS is live before
    clobbering it.
    
    The code produced by X86TargetLowering::EmitLoweredSelect does not
    clobber EFLAGS.
    
    This causes one less testb instruction to be generated in the cmov.ll
    test case.
    
    llvm-svn: 139057
    1f72dd40
Loading