[all-commits] [llvm/llvm-project] 20a60f: [X86] Explicitly add popcnt feature to Intel CPUs ...
topperc via All-commits
all-commits at lists.llvm.org
Sun Jun 28 11:07:29 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 20a60f46f505fc790e126b8b860c689870355f36
https://github.com/llvm/llvm-project/commit/20a60f46f505fc790e126b8b860c689870355f36
Author: Craig Topper <craig.topper at intel.com>
Date: 2020-06-28 (Sun, 28 Jun 2020)
Changed paths:
M clang/lib/Basic/Targets/X86.cpp
M clang/test/Preprocessor/x86_target_features.c
Log Message:
-----------
[X86] Explicitly add popcnt feature to Intel CPUs with SSE4.2 in the frontend.
Previously we inferred it if sse4.2 ended up being enabled after
all feature processing. But writing -march=nehalem -mno-sse4.2
should have popcnt enabled.
More information about the All-commits
mailing list