User Details
- User Since
- Nov 14 2012, 10:49 AM (540 w, 4 d)
Thu, Mar 23
Tue, Mar 21
Mon, Mar 20
Added unittest with non-null memory space. Fixed comments to end with '.'.
Tue, Mar 14
@sunshaoce, @awarzynski are there remaining issues with this patch? We currently needs this for our testing.
Mon, Mar 13
Thu, Mar 9
Mon, Mar 6
@kiranchandramohan did you have any other feedback on this patch?
Wed, Mar 1
Fix comment
Tue, Feb 28
Make types explicit.
Make sure all tests check alloca return type. Use constant value for alloca address space from the ROCDL dialect.
Mon, Feb 27
Use Attribute instead of integers to encode memory spaces. Change address space -> memory space.
Feb 24 2023
Also, how would the default case be handled (currently returns 0)?
Feb 23 2023
Feb 21 2023
Feb 17 2023
Fixed typo
Feb 16 2023
Feb 7 2023
Add index width test.
Feb 2 2023
Remove complex arg/return type code.
Feb 1 2023
Jan 31 2023
Jan 30 2023
This is no longer needed.
Merge with trunk so patch applies.
Jan 26 2023
@awarzynski do you have any other concerns about the patch?
Jan 25 2023
Update variable names to camel case.
Update test to check metadata.
Added test to embed with .bc file as input instead of source file. Fixed comment in negative test.
Jan 23 2023
Added negative test and early return when error occurrs.
This looks good to me. Have @jdoerfert approve as well.
Jan 20 2023
Jan 13 2023
LG
Dec 23 2022
Dec 12 2022
Dec 9 2022
Fix comment and test.
Dec 8 2022
Dec 6 2022
[snip]
Your code looks elegant but in my opinion it will generate different code for ARM architecture where the vector alignment is set to 64 ( https://github.com/llvm-mirror/clang/blob/master/lib/Basic/Targets/ARM.cpp#L311 ), but simd default alignment is set to 0.
Dec 1 2022
If we implemented DataLayout::getMaxPreferredVectorTypeAlign something like this:
Nov 29 2022
Nov 25 2022
No need to pass in IsEmbedded, it is in the config now. Perhaps the manager should also have the config available.
Update against trunk.
Nov 24 2022
Nov 23 2022
Make firstSeparator() and separator() return the correct default values when the optional values are not set. This will allow overriding the default, and will avoid inconsistencies in the case IsTargetCodegen is modified in the config. Change name of getName to something more descriptive. Maybe getPlatformSpecificName is better than createPlatformSpecificName, feedback is welcome.
Nov 22 2022
Use the new config class. Perhaps the separators could be inferred from isTargetCodgen, but keeping them explicit for now.
Looking at the existing code before the patch:
/ Return default simd alignment for the given target. Generally, this
/ value is type-specific, but this alignment can be used for most of the
/// types for the given target.
unsigned getSimdDefaultAlign() const { return SimdDefaultAlign; }
It is very imprecise. Which types? The smallest alignment for all vector and element types?.
Nov 21 2022
Fix typo in comment.
Nov 17 2022
Nov 16 2022
Nov 11 2022
Nov 9 2022
Nov 8 2022
Changed setOutlinedFunctionAttributes to setOutlinedTargetRegionFunctionAttributes. Fixed else after return. Added TODO. Removed comment.
Nov 7 2022
Nov 3 2022
Nov 2 2022
Use std::function instead of function_ref.