llvm-reduce: Don't remove strictfp
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 3 Jan 2023 13:00:03 +0000 (08:00 -0500)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 3 Jan 2023 20:57:58 +0000 (15:57 -0500)
commitd5b7514c3d298058d2509af5e0093519b1a20662
treec3207d16c640d98ab7b9627a533a5925a7e4bfe2
parent7cd0fd6f519558fcccf07d7cbf14237f2c5182fe
llvm-reduce: Don't remove strictfp

The verifier should fail if constrained intrinsics are used in
functions with strictfp, but that patch hasn't been pushed yet.

Ideally we would be able to analyze the function body to see if any
constrained intrinsics were used, but we seem to be missing a utility
function to check for any constrained ops.
llvm/test/tools/llvm-reduce/remove-attributes-strictfp.ll [new file with mode: 0644]
llvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp