llvm.org GIT mirror llvm / 44cb8ef
add a simple hack git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45343 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 12 years ago
1 changed file(s) with 12 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
15721572
15731573 //===---------------------------------------------------------------------===//
15741574
1575 We can fold a store into "zeroing a reg". Instead of:
1576
1577 xorl %eax, %eax
1578 movl %eax, 124(%esp)
1579
1580 we should get:
1581
1582 movl $0, 124(%esp)
1583
1584 if the flags of the xor are dead.
1585
1586 //===---------------------------------------------------------------------===//