commit | 0822dde3fb667eb38272f5d296d0ef314d13b370 | [log] [tgz] |
---|---|---|
author | Frank Barchard <fbarchard@google.com> | Sat Jul 04 12:47:24 2020 -0700 |
committer | XNNPACK Team <xnnpack-github-robot@google.com> | Sat Jul 04 12:48:01 2020 -0700 |
tree | 12f074f6f37a73e4c1eec2cd22a630e7887277a9 | |
parent | d5b9f1c3084be49c0df4d6c62cb9623eff71dd0e [diff] [blame] |
vbinary and vunary microkernels assert pointers are not NULL PiperOrigin-RevId: 319614242
diff --git a/src/f32-vbinary/gen/vmaxc-neon-x4.c b/src/f32-vbinary/gen/vmaxc-neon-x4.c index a35d543..cb58453 100644 --- a/src/f32-vbinary/gen/vmaxc-neon-x4.c +++ b/src/f32-vbinary/gen/vmaxc-neon-x4.c
@@ -24,6 +24,9 @@ { assert(n != 0); assert(n % sizeof(float) == 0); + assert(a != NULL); + assert(b != NULL); + assert(y != NULL); const float32x4_t vb = vld1q_dup_f32(b);