[PATCH] Peephole optimization causes different code generation at "-O2 -g" and "-O2".

Katya Romanova Katya_Romanova at playstation.sony.com
Thu Mar 6 23:26:18 PST 2014


  Here is an updated patch.
  - it has been built and tested against trunk at 203192 (Mar6)
  - the 2 test cases were merged to 1, and debug info reduced a bit more.
  - the test case was checked with -mcpu=atom

Hi echristo,

http://llvm-reviews.chandlerc.com/D2728

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D2728?vs=7414&id=7623#toc

Files:
  llvm/test/CodeGen/X86/dbg-changes-codegen.ll
  llvm/include/llvm/CodeGen/MachineRegisterInfo.h
  llvm/lib/CodeGen/MachineRegisterInfo.cpp
  llvm/lib/CodeGen/DeadMachineInstructionElim.cpp
  llvm/lib/CodeGen/PeepholeOptimizer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2728.5.patch
Type: text/x-patch
Size: 8555 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140306/c06f885d/attachment.bin>


More information about the llvm-commits mailing list