Disabled shift-base UBSAN warning in TFLite.
* There was an occasional invalid left shift of a negative number in neon2see. This is a benign SAN failure. PiperOrigin-RevId: 351651911 Change-Id: I265fa0f3e4841ae5de3e33364e0d57ff5b3353bd
This commit is contained in:
parent
686eca2fb0
commit
02e9e26b27
@ -42,6 +42,11 @@ def tflite_copts():
|
||||
"//conditions:default": [
|
||||
"-fno-exceptions", # Exceptions are unused in TFLite.
|
||||
],
|
||||
}) + select({
|
||||
clean_dep("//tensorflow:linux_x86_64"): [
|
||||
"-fno-sanitize=shift-base", # Possible invalid left shift in neon2sse.
|
||||
],
|
||||
"//conditions:default": [],
|
||||
})
|
||||
|
||||
return copts
|
||||
|
Loading…
Reference in New Issue
Block a user