[PATCH] D25286: Ignore debug info when making optimization decisions in SimplifyCFG.

Dehao Chen via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 5 10:24:18 PDT 2016


danielcdh created this revision.
danielcdh added reviewers: davidxl, mzolotukhin.
danielcdh added a subscriber: llvm-commits.

Debug info should *not* affect code generation. This patch properly handles debug info to make sure the generated code are the same with or without debug info.


https://reviews.llvm.org/D25286

Files:
  lib/Transforms/Utils/SimplifyCFG.cpp
  test/Transforms/SimplifyCFG/sink-common-code.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25286.73670.patch
Type: text/x-patch
Size: 3344 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161005/78d7b444/attachment.bin>


More information about the llvm-commits mailing list