diff options
| author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-08-19 14:22:07 +0000 |
|---|---|---|
| committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-08-19 14:22:07 +0000 |
| commit | db019ae801bd5db2c0e53043a4bee56d586303de (patch) | |
| tree | decb6621e18670d1d6ba2742965efb069b20d5bb /llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h | |
| parent | b38195c1a8924541bf26ffe9a4a6e4b2d65467f7 (diff) | |
| download | bcm5719-llvm-db019ae801bd5db2c0e53043a4bee56d586303de.tar.gz bcm5719-llvm-db019ae801bd5db2c0e53043a4bee56d586303de.zip | |
[Hexagon] Consider zext/sext of a load to i32 to be free
llvm-svn: 279248
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h')
| -rw-r--r-- | llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h b/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h index 9c4d3a7bf51..f927663005d 100644 --- a/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h +++ b/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h @@ -67,6 +67,8 @@ public: unsigned getNumberOfRegisters(bool vector) const; /// @} + + int getUserCost(const User *U); }; } // end namespace llvm |

