[llvm] r268102 - Fix comment
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 29 14:02:04 PDT 2016
Author: arsenm
Date: Fri Apr 29 16:02:04 2016
New Revision: 268102
URL: http://llvm.org/viewvc/llvm-project?rev=268102&view=rev
Log:
Fix comment
Modified:
llvm/trunk/include/llvm/Target/TargetLowering.h
Modified: llvm/trunk/include/llvm/Target/TargetLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetLowering.h?rev=268102&r1=268101&r2=268102&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetLowering.h (original)
+++ llvm/trunk/include/llvm/Target/TargetLowering.h Fri Apr 29 16:02:04 2016
@@ -296,7 +296,7 @@ public:
///
/// (store (y (conv x)), y*)) -> (store x, (x*))
virtual bool isStoreBitCastBeneficial(EVT StoreVT, EVT BitcastVT) const {
- // Default to the same logic as stores.
+ // Default to the same logic as loads.
return isLoadBitCastBeneficial(StoreVT, BitcastVT);
}
More information about the llvm-commits
mailing list