diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-12-08 03:21:47 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-12-08 03:21:47 +0000 |
commit | ce8eca578d6956885b46f1fb85173b1296f33dba (patch) | |
tree | b176ae78da1ddec35cbf2d599b414897adec09b0 /llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp | |
parent | 0ebc8605ad74082c1b01b8500782ca220d3eb0df (diff) | |
download | llvm-ce8eca578d6956885b46f1fb85173b1296f33dba.zip llvm-ce8eca578d6956885b46f1fb85173b1296f33dba.tar.gz llvm-ce8eca578d6956885b46f1fb85173b1296f33dba.tar.bz2 |
Explicitly permit undefined behavior in constant initializers for global
variables in C, in the cases where we can constant-fold it to a value
regardless (such as floating-point division by zero and signed integer
overflow). Strictly enforcing this rule breaks too much code.
llvm-svn: 254992
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp')
0 files changed, 0 insertions, 0 deletions