[llvm-dev] Question on Instruction Combining
Sain-Zee Ueng via llvm-dev
llvm-dev at lists.llvm.org
Wed Jan 27 12:35:56 PST 2016
Hello,
In InstructionCombining.cpp, under AddReachableCodeToWorklist
<http://llvm.org/docs/doxygen/html/InstructionCombining_8cpp.html#a65beadbfc094f4040b353518b98d0c07>,
DCE and ConstFold are performed but MadeIRChange is not set to true (lines
2912 and 2924). Is there some underlying assumption that supports this?
Intuitively not setting MadeIRChanges to true at these points could allow
Instruction Combining to exit early while there is still work to do.
Thank you,
Sain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160127/a5796113/attachment.html>
More information about the llvm-dev
mailing list