mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 23:24:59 +00:00
Minor style fixes for TargetTransformationInfo and TargetTransformImpl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166936 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -45,7 +45,7 @@ public:
|
||||
/// used.
|
||||
TargetTransformInfo();
|
||||
|
||||
explicit TargetTransformInfo(const ScalarTargetTransformInfo* S,
|
||||
TargetTransformInfo(const ScalarTargetTransformInfo* S,
|
||||
const VectorTargetTransformInfo *V)
|
||||
: ImmutablePass(ID), STTI(S), VTTI(V) {
|
||||
initializeTargetTransformInfoPass(*PassRegistry::getPassRegistry());
|
||||
@@ -102,7 +102,7 @@ public:
|
||||
/// isTruncateFree - Return true if it's free to truncate a value of
|
||||
/// type Ty1 to type Ty2. e.g. On x86 it's free to truncate a i32 value in
|
||||
/// register EAX to i16 by referencing its sub-register AX.
|
||||
virtual bool isTruncateFree(Type * /*Ty1*/, Type * /*Ty2*/) const {
|
||||
virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const {
|
||||
return false;
|
||||
}
|
||||
/// Is this type legal.
|
||||
|
Reference in New Issue
Block a user