[llvm] Add numerical sanitizer (PR #85916)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 14:16:56 PDT 2024


================
@@ -819,6 +819,8 @@ static uint64_t getAttrKindEncoding(Attribute::AttrKind Kind) {
     return bitc::ATTR_KIND_SANITIZE_THREAD;
   case Attribute::SanitizeMemory:
     return bitc::ATTR_KIND_SANITIZE_MEMORY;
+  case Attribute::SanitizeNumericalStability:
+    return bitc::ATTR_KIND_SANITIZE_NUMERICAL_STABILITY;
----------------
arsenm wrote:

Should add a bitcode compatibility test 

https://github.com/llvm/llvm-project/pull/85916


More information about the llvm-commits mailing list