[llvm-commits] [llvm] r163892 - /llvm/trunk/lib/Transforms/Scalar/SROA.cpp
Chandler Carruth
chandlerc at gmail.com
Fri Sep 14 03:26:37 PDT 2012
Author: chandlerc
Date: Fri Sep 14 05:26:36 2012
New Revision: 163892
URL: http://llvm.org/viewvc/llvm-project?rev=163892&view=rev
Log:
Add a comment about debug intrinsics that I *really* don't want to
forget from Duncan's review as a FIXME.
Modified:
llvm/trunk/lib/Transforms/Scalar/SROA.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/SROA.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SROA.cpp?rev=163892&r1=163891&r2=163892&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/SROA.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/SROA.cpp Fri Sep 14 05:26:36 2012
@@ -615,6 +615,8 @@
}
// Disable SRoA for any intrinsics except for lifetime invariants.
+ // FIXME: What about debug instrinsics? This matches old behavior, but
+ // doesn't make sense.
bool visitIntrinsicInst(IntrinsicInst &II) {
if (II.getIntrinsicID() == Intrinsic::lifetime_start ||
II.getIntrinsicID() == Intrinsic::lifetime_end) {
More information about the llvm-commits
mailing list