Skip to content

Commit ceef7e4

Browse files
necipfazilPrabhuk
authored andcommitted
Rebase on parent
Created using spr 1.3.6-beta.1
2 parents 2397f11 + 5723d40 commit ceef7e4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

llvm/lib/IR/Verifier.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5195,9 +5195,8 @@ void Verifier::visitCallsiteMetadata(Instruction &I, MDNode *MD) {
51955195
}
51965196

51975197
static inline bool isConstantIntMetadataOperand(const Metadata *MD) {
5198-
if (auto *VAL = dyn_cast<ValueAsMetadata>(MD)) {
5198+
if (auto *VAL = dyn_cast<ValueAsMetadata>(MD))
51995199
return isa<ConstantInt>(VAL->getValue());
5200-
}
52015200
return false;
52025201
}
52035202

llvm/test/Verifier/callee-type-metadata.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ entry:
3030
!5 = !{!"expected_int", !"_ZTSFicE"}
3131
!6 = !{!5}
3232
!7 = !{i64 0, !"_ZTSFicE"}
33-
!8 = !{!7}
33+
!8 = !{!7}

0 commit comments

Comments
 (0)