Skip to content

Conversation

@aaupov
Copy link
Contributor

@aaupov aaupov commented Feb 17, 2024

Use getAnnotationWithDefault instead of testing if the annotation is
set. If the default value is used, and CSI.Count is set to zero, the
target is discarded by a check below.

Test Plan: NFC

aaupov and others added 2 commits February 17, 2024 12:47
Created using spr 1.3.4
@aaupov aaupov changed the base branch from users/aaupov/spr/main.boltnfc-simplify-yamlprofilewriterconvert to main February 29, 2024 11:57
@aaupov aaupov changed the base branch from main to users/aaupov/spr/main.boltnfc-simplify-yamlprofilewriterconvert March 20, 2024 21:20
@aaupov aaupov changed the base branch from users/aaupov/spr/main.boltnfc-simplify-yamlprofilewriterconvert to main March 20, 2024 21:36
Created using spr 1.3.4
@aaupov aaupov merged commit de0abc0 into main Mar 20, 2024
@aaupov aaupov deleted the users/aaupov/spr/boltnfc-simplify-yamlprofilewriterconvert branch March 20, 2024 21:39
chencha3 pushed a commit to chencha3/llvm-project that referenced this pull request Mar 23, 2024
Use `getAnnotationWithDefault` instead of testing if the annotation is
set. If the default value is used, and `CSI.Count` is set to zero, the
target is discarded by a check below.

Test Plan: NFC

Reviewers: maksfb, dcci, rafaelauler, ayermolo

Reviewed By: ayermolo

Pull Request: llvm#82129
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants