summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-02-11 20:38:10 +0000
committerCraig Topper <craig.topper@intel.com>2019-02-11 20:38:10 +0000
commit75eb0af874b76212e1efa98117578274d5d68319 (patch)
tree6bc3d1f1e78442bc59e381a70d078a902a78a09f /llvm/lib/CodeGen
parent346f1e97a9a9166f815b4a3ca2cce2220a9eb162 (diff)
downloadbcm5719-llvm-75eb0af874b76212e1efa98117578274d5d68319.tar.gz
bcm5719-llvm-75eb0af874b76212e1efa98117578274d5d68319.zip
[X86] Correct the memory operand for the FLD emitted in FP_TO_INTHelper for 32-bit SSE targets.
We were using DstTy, but that represents the integer type we are converting to which is i64 in this case. The FLD is part of an intermediate step to get from the SSE registers to the x87 registers. If the floating point type is f32, the memory operand should reflect a 4 byte access not an 8 byte access. The store we used to get from SSE to the stack is using the corect size. While there, consistenly use TheVT in place of Op.getOperand(0).getValueType() throughout the function. llvm-svn: 353745
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud