File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -1263,7 +1263,7 @@ class MemSetInlineInst : public MemSetInst {
12631263 }
12641264};
12651265
1266- // / This is the base class for memset.pattern
1266+ // / This is the base class for llm.experimental. memset.pattern
12671267class MemSetPatternIntrinsic : public MemIntrinsicBase <MemIntrinsic> {
12681268private:
12691269 enum { ARG_VOLATILE = 3 };
@@ -1279,12 +1279,7 @@ class MemSetPatternIntrinsic : public MemIntrinsicBase<MemIntrinsic> {
12791279
12801280 // Methods for support of type inquiry through isa, cast, and dyn_cast:
12811281 static bool classof (const IntrinsicInst *I) {
1282- switch (I->getIntrinsicID ()) {
1283- case Intrinsic::experimental_memset_pattern:
1284- return true ;
1285- default :
1286- return false ;
1287- }
1282+ return I->getIntrinsicID () == Intrinsic::experimental_memset_pattern;
12881283 }
12891284 static bool classof (const Value *V) {
12901285 return isa<IntrinsicInst>(V) && classof (cast<IntrinsicInst>(V));
You can’t perform that action at this time.
0 commit comments