summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LatencyPriorityQueue.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2012-09-27 06:33:40 +0000
committerNick Lewycky <nicholas@mxc.ca>2012-09-27 06:33:40 +0000
commit04f832bf2c576c65fed751a613437da74f5c5f43 (patch)
treedf90a3d1dcec6eb41e2f085745e843330be80946 /llvm/lib/CodeGen/LatencyPriorityQueue.cpp
parent47172a064f9b362ae2ef5895c494fb61f174907f (diff)
downloadbcm5719-llvm-04f832bf2c576c65fed751a613437da74f5c5f43.tar.gz
bcm5719-llvm-04f832bf2c576c65fed751a613437da74f5c5f43.zip
Add missing function CreateFPCast to the TargetFolder. It's there in the other
folders and not having it here fails to compile if you actually try to use it. Also, CreatePointerCast was failing to do the part where it does TD-aware constant folding. Granted there is exactly one case where that it will ever do anything, but there's no reason to skip it. For reference, that case is a subtraction between two constant offsets on the same global variable, eg., "&A[123] - &A[4].f". llvm-svn: 164760
Diffstat (limited to 'llvm/lib/CodeGen/LatencyPriorityQueue.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud