summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitcodeReader.h
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2014-03-30 18:07:13 +0000
committerAdam Nemet <anemet@apple.com>2014-03-30 18:07:13 +0000
commitcb1800772aea0bfe409df9f16acd238b6a007474 (patch)
treeba40d2c886455259ca6d42ea32d181729bb44d24 /lib/Bitcode/Reader/BitcodeReader.h
parentb173d9ee355f0d54c7a273a64feab8e822325d59 (diff)
downloadllvm-cb1800772aea0bfe409df9f16acd238b6a007474.tar.gz
llvm-cb1800772aea0bfe409df9f16acd238b6a007474.tar.bz2
llvm-cb1800772aea0bfe409df9f16acd238b6a007474.tar.xz
[X86] Adjust cost of FP_TO_UINT v8f32->v8i32
There is no direct AVX instruction to convert to unsigned. I have some ideas how we may be able to do this with three vector instructions but the current backend just bails on this to get it scalarized. See the comment why we need to adjust the cost returned by BasicTTI. The test is a bit roundabout (and checks assembly rather than bit code) because I'd like it to work even if at some point we could vectorize this conversion. Fixes <rdar://problem/16371920> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205159 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.h')
0 files changed, 0 insertions, 0 deletions