Fix type checking and dispatch for intrinsics
Fix type checking and dispatch for intrinsics

Change-Id: I2307709db3322492afdd3124ec07c9c75c2329a1

apmasell/flabbergast,apmasell/flabbergast,flabbergast-config/flabbergast,apmasell/flabbergast,flabbergast-config/flabbergast,apmasell/flabbergast,flabbergast-config/flabbergast,flabbergast-config/flabbergast,flabbergast-config/flabbergast,apmasell/flabbergast,apmasell/flabbergast