Skip to content

Commit fb61b76

Browse files
committed
Add comment that there is a method to my madness
1 parent 7319e55 commit fb61b76

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4898,6 +4898,9 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
48984898
case Intrinsic::aarch64_neon_sqxtn:
48994899
case Intrinsic::aarch64_neon_sqxtun:
49004900
case Intrinsic::aarch64_neon_uqxtn:
4901+
// These only have one argument, but we (ab)use handleShadowOr because it
4902+
// does work on single argument intrinsics and will typecast the shadow
4903+
// (and update the origin).
49014904
handleShadowOr(I);
49024905
break;
49034906

0 commit comments

Comments
 (0)