AArch64: improve handling & modelling of FP_TO_XINT nodes.
authorTim Northover <tnorthover@apple.com>
Sun, 15 Jun 2014 09:27:15 +0000 (09:27 +0000)
committerTim Northover <tnorthover@apple.com>
Sun, 15 Jun 2014 09:27:15 +0000 (09:27 +0000)
commitdbecc3b3fc5868e4b71310fe001ea8c67ee407da
tree9baf18b36c4630b549162212d8327035d8e41cea
parentef0d760cd928d4afec2d436c7efefc0cb6f1bbb0
AArch64: improve handling & modelling of FP_TO_XINT nodes.

There's probably no acatual change in behaviour here, just updating
the LowerFP_TO_INT function to be more similar to the reverse
implementation and updating costs to current CodeGen.

llvm-svn: 210985
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/test/CodeGen/AArch64/complex-fp-to-int.ll