summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmtOpenMP.cpp
diff options
context:
space:
mode:
authorAshutosh Nema <ashu1212@gmail.com>2016-04-22 08:34:05 +0000
committerAshutosh Nema <ashu1212@gmail.com>2016-04-22 08:34:05 +0000
commit468558a06135451065cd279aa4e4f7b19a190567 (patch)
treea60774a84522086caae93f1980d791ea88b44e75 /clang/lib/CodeGen/CGStmtOpenMP.cpp
parent601970296070d04b19aae5cf665b9cde0d55ef08 (diff)
downloadbcm5719-llvm-468558a06135451065cd279aa4e4f7b19a190567.tar.gz
bcm5719-llvm-468558a06135451065cd279aa4e4f7b19a190567.zip
[X86]: Changing cost for “TRUNCATE v16i32 to v16i8” in SSE4.1 mode.
Summary: rL256194 transforms truncations between vectors of integers into PACKUS/PACKSS operations during DAG combine. This generates better code for truncate, so cost of truncate needs to be changed but looks like it got changed only in SSE2 table Whereas this change is also applicable for SSE4.1, so the cost of truncate needs to be changed for that as well. Cost of “TRUNCATE v16i32 to v16i8” & “TRUNCATE v16i16 to v16i8” should be same in SSE4.1 & SSE2 table. Removing their cost from SSE4.1, so it will fall back to SSE2. Reviewers: Simon Pilgrim llvm-svn: 267123
Diffstat (limited to 'clang/lib/CodeGen/CGStmtOpenMP.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud