mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
fix trivial typos, NFC
llvm-svn: 306952
This commit is contained in:
parent
41999da9af
commit
6c3ccb62c6
@ -2051,7 +2051,7 @@ public:
|
||||
/// this information should not be provided because it will generate more
|
||||
/// loads.
|
||||
virtual bool hasPairedLoad(EVT /*LoadedType*/,
|
||||
unsigned & /*RequiredAligment*/) const {
|
||||
unsigned & /*RequiredAlignment*/) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -116,7 +116,7 @@ static inline RemapFlags operator|(RemapFlags LHS, RemapFlags RHS) {
|
||||
/// - \a scheduleMapGlobalAliasee()
|
||||
/// - \a scheduleRemapFunction()
|
||||
///
|
||||
/// Sometimes a callback needs a diferent mapping context. Such a context can
|
||||
/// Sometimes a callback needs a different mapping context. Such a context can
|
||||
/// be registered using \a registerAlternateMappingContext(), which takes an
|
||||
/// alternate \a ValueToValueMapTy and \a ValueMaterializer and returns a ID to
|
||||
/// pass into the schedule*() functions.
|
||||
|
@ -400,8 +400,8 @@ static APInt getSizeWithOverflow(const SizeOffsetType &Data) {
|
||||
|
||||
/// \brief Compute the size of the object pointed by Ptr. Returns true and the
|
||||
/// object size in Size if successful, and false otherwise.
|
||||
/// If RoundToAlign is true, then Size is rounded up to the aligment of allocas,
|
||||
/// byval arguments, and global variables.
|
||||
/// If RoundToAlign is true, then Size is rounded up to the alignment of
|
||||
/// allocas, byval arguments, and global variables.
|
||||
bool llvm::getObjectSize(const Value *Ptr, uint64_t &Size, const DataLayout &DL,
|
||||
const TargetLibraryInfo *TLI, ObjectSizeOpts Opts) {
|
||||
ObjectSizeOffsetVisitor Visitor(DL, TLI, Ptr->getContext(), Opts);
|
||||
|
@ -1954,7 +1954,7 @@ static void rematerializeLiveValues(CallSite CS,
|
||||
// to identify the newly generated AlternateRootPhi (.base version of phi)
|
||||
// and RootOfChain (the original phi node itself) are the same, so that we
|
||||
// can rematerialize the gep and casts. This is a workaround for the
|
||||
// deficieny in the findBasePointer algorithm.
|
||||
// deficiency in the findBasePointer algorithm.
|
||||
if (!AreEquivalentPhiNodes(*OrigRootPhi, *AlternateRootPhi))
|
||||
continue;
|
||||
// Now that the phi nodes are proved to be the same, assert that
|
||||
|
@ -535,8 +535,8 @@ entry:
|
||||
; CHECK: ret i1
|
||||
|
||||
|
||||
; Check that loads of shadow have the same aligment as the original loads.
|
||||
; Check that loads of origin have the aligment of max(4, original alignment).
|
||||
; Check that loads of shadow have the same alignment as the original loads.
|
||||
; Check that loads of origin have the alignment of max(4, original alignment).
|
||||
|
||||
define i32 @ShadowLoadAlignmentLarge() nounwind uwtable sanitize_memory {
|
||||
%y = alloca i32, align 64
|
||||
|
Loading…
Reference in New Issue
Block a user