[PATCH] D50510: [MSan] Shrink the register save area for non-SSE builds

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 9 14:16:12 PDT 2018


eugenis accepted this revision.
eugenis added a comment.
This revision is now accepted and ready to land.

Normally, this attribute is parsed in ParseSubtargetFeatures, which is tablegen-ed from target definitions. But it can not be used in a opt pass, I think.

This change is close enough. LGTM.



================
Comment at: test/Instrumentation/MemorySanitizer/msan_basic.ll:935
+
+attributes #0 = { "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+x87,-aes,-avx,-avx2,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vpopcntdq,-f16c,-fma,-fma4,-gfni,-pclmul,-sha,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-xop,-xsave,-xsaveopt" "unsafe-fp-math"="false" "use-soft-float"="false" }
+
----------------
Please remove unrelated attributes.


https://reviews.llvm.org/D50510





More information about the llvm-commits mailing list