summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Mips/setltk.ll
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2016-12-06 08:08:01 +0000
committerCraig Topper <craig.topper@gmail.com>2016-12-06 08:08:01 +0000
commit125939ff65b8f5832342dbccb590cf111f9fff27 (patch)
tree8765679696681a25ecf52271af73c2d726e15634 /llvm/test/CodeGen/Mips/setltk.ll
parent5fc7bc91f9ad23b1ec1471186ff0603369ca6563 (diff)
downloadbcm5719-llvm-125939ff65b8f5832342dbccb590cf111f9fff27.tar.gz
bcm5719-llvm-125939ff65b8f5832342dbccb590cf111f9fff27.zip
[X86] Add test case that shows a scalar sqrtsd intrinsic of a 128-bit vector load using the load form of the sqrtsd instruction which violates the intrinsic semantics.
The sqrtsd instruction only loads 64-bits and writes bits 63:0 with the sqrt result. Bits 127:64 are preserved in the destination register. The semantics of the intrinsic indicate bits 127:64 should come from the intrinsic argument which in this case is a 128-bit load. So the generated code should have a 128-bit load and use a register form of sqrtsd. llvm-svn: 288780
Diffstat (limited to 'llvm/test/CodeGen/Mips/setltk.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud