From 2c15956749372c17d525606bc917be7feda71fdf Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 29 Apr 2016 21:02:04 +0000 Subject: [PATCH] Fix comment llvm-svn: 268102 --- llvm/include/llvm/Target/TargetLowering.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/Target/TargetLowering.h b/llvm/include/llvm/Target/TargetLowering.h index e814f4f9c4c1..780525b3dd12 100644 --- a/llvm/include/llvm/Target/TargetLowering.h +++ b/llvm/include/llvm/Target/TargetLowering.h @@ -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); }