summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenPGO.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-06-08 01:09:31 +0000
committerCraig Topper <craig.topper@intel.com>2018-06-08 01:09:31 +0000
commit2ed43282814320e709518e03c77c5b0aef35616a (patch)
treefd73f427d8aeff5a670bbc18a11d1087497346db /clang/lib/CodeGen/CodeGenPGO.cpp
parent6db1f5da4feb863995c394a91a4f635dd4d90587 (diff)
downloadbcm5719-llvm-2ed43282814320e709518e03c77c5b0aef35616a.tar.gz
bcm5719-llvm-2ed43282814320e709518e03c77c5b0aef35616a.zip
[X86] Improve some shuffle decoding code to remove a conditional from a loop and reduce the number of temporary variables. NFCI
The NumControlBits variable was definitely sketchy. I think that only worked because the expected value was 1 or 2 and the number of lanes was 2 or 4. Had their been 8 lanes the number of bits should have been 3 not 4 as the previous code would have given. llvm-svn: 334258
Diffstat (limited to 'clang/lib/CodeGen/CodeGenPGO.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud