Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Phabricator shutdown timeline

ManuelJBrito (Manuel Brito)
User

Projects

User does not belong to any projects.

User Details

User Since
Sep 8 2022, 2:21 AM (54 w, 4 d)

Recent Activity

Mon, Sep 11

ManuelJBrito updated the diff for D140538: [Clang][CodeGen] Use poison instead of undef for dummy values in CGExpr [NFC].

Remove changes to demangle test

Mon, Sep 11, 3:53 AM · Restricted Project, Restricted Project, Restricted Project

Mon, Aug 28

ManuelJBrito added inline comments to D154228: [GVN] Use vector ops when doing loadCoercion on a vector value.
Mon, Aug 28, 9:49 AM · Restricted Project, Restricted Project
ManuelJBrito added a reverting change for rGc59bc230e738: [NewGVN][PHIOFOPS] Relax conditions when checking safety of memory accesses: rGa1f5ea5b5f1f: Revert "[NewGVN][PHIOFOPS] Relax conditions when checking safety of memory….
Mon, Aug 28, 7:27 AM · Restricted Project, Restricted Project
ManuelJBrito committed rGa1f5ea5b5f1f: Revert "[NewGVN][PHIOFOPS] Relax conditions when checking safety of memory… (authored by ManuelJBrito).
Revert "[NewGVN][PHIOFOPS] Relax conditions when checking safety of memory…
Mon, Aug 28, 7:27 AM · Restricted Project, Restricted Project
ManuelJBrito added a reverting change for D156055: [NewGVN][PHIOFOPS] Relax conditions when checking safety of memory accesses: rGa1f5ea5b5f1f: Revert "[NewGVN][PHIOFOPS] Relax conditions when checking safety of memory….
Mon, Aug 28, 7:27 AM · Restricted Project, Restricted Project
ManuelJBrito added a comment to D154228: [GVN] Use vector ops when doing loadCoercion on a vector value.

ping :)

Mon, Aug 28, 7:08 AM · Restricted Project, Restricted Project
ManuelJBrito added a comment to rGc59bc230e738: [NewGVN][PHIOFOPS] Relax conditions when checking safety of memory accesses.

Thanks!! The problem here is when we hit a non clobbering memPhi, we should just continue. Instead we are trying to cast it to a memUseOrDef which causes the failure.

Mon, Aug 28, 3:37 AM · Restricted Project, Restricted Project

Aug 18 2023

ManuelJBrito requested review of D158273: [NewGVN] Don't ignore poison in cyclic PHIs.
Aug 18 2023, 5:57 AM · Restricted Project, Restricted Project
ManuelJBrito updated the diff for D154228: [GVN] Use vector ops when doing loadCoercion on a vector value.

Update : fill mask with poison mask elem in shufflevector

Aug 18 2023, 4:19 AM · Restricted Project, Restricted Project

Aug 17 2023

ManuelJBrito added a comment to D154228: [GVN] Use vector ops when doing loadCoercion on a vector value.

ping :)

Aug 17 2023, 7:42 AM · Restricted Project, Restricted Project

Aug 13 2023

ManuelJBrito added a comment to D154307: [NewGVN] Add test with assume dominating an ICmp. NFC.

I don't think doing phi-of-ops on the following is valid :

Aug 13 2023, 5:43 AM · Restricted Project, Restricted Project

Aug 10 2023

ManuelJBrito added a comment to D154307: [NewGVN] Add test with assume dominating an ICmp. NFC.

Perhaps we could add this case as a check to OpIsSafeForPHIOfOps. While walking the operands we could check if they are used in an assume until we hit a dominator. Not sure this makes complete sense, but we already do something similar to prevent InstSimplify from code walking through non-dominating phis.

Aug 10 2023, 5:24 AM · Restricted Project, Restricted Project

Aug 8 2023

ManuelJBrito updated the diff for D157263: [NewGVN] Unreachable if block in performSymbolicLoadEvaluation (NFC).

Add assert, as per Alina's request.

Aug 8 2023, 2:20 AM · Restricted Project, Restricted Project
ManuelJBrito abandoned D157264: [NewGVN] Use leader for instrinsics with the returned attribute.

This patch isn't really useful, the value will be moved to the correct congruence class regardless. Sorry for wasting your time.

Aug 8 2023, 1:57 AM · Restricted Project, Restricted Project

Aug 7 2023

ManuelJBrito requested review of D157264: [NewGVN] Use leader for instrinsics with the returned attribute.
Aug 7 2023, 2:39 AM · Restricted Project, Restricted Project
ManuelJBrito requested review of D157263: [NewGVN] Unreachable if block in performSymbolicLoadEvaluation (NFC).
Aug 7 2023, 2:29 AM · Restricted Project, Restricted Project

Aug 4 2023

ManuelJBrito added a comment to D156994: [NewGVN] Only perform symbolic evaluation on instructions (NFC).

Thanks for the review!

Aug 4 2023, 12:28 AM · Restricted Project, Restricted Project
ManuelJBrito committed rGb80ff2fec674: [NewGVN] Only perform symbolic evaluation on instructions (NFC) (authored by ManuelJBrito).
[NewGVN] Only perform symbolic evaluation on instructions (NFC)
Aug 4 2023, 12:28 AM · Restricted Project, Restricted Project
ManuelJBrito closed D156994: [NewGVN] Only perform symbolic evaluation on instructions (NFC).
Aug 4 2023, 12:27 AM · Restricted Project, Restricted Project

Aug 3 2023

ManuelJBrito requested review of D156994: [NewGVN] Only perform symbolic evaluation on instructions (NFC).
Aug 3 2023, 5:34 AM · Restricted Project, Restricted Project

Aug 1 2023

ManuelJBrito committed rGc59bc230e738: [NewGVN][PHIOFOPS] Relax conditions when checking safety of memory accesses (authored by ManuelJBrito).
[NewGVN][PHIOFOPS] Relax conditions when checking safety of memory accesses
Aug 1 2023, 12:53 AM · Restricted Project, Restricted Project
ManuelJBrito closed D156055: [NewGVN][PHIOFOPS] Relax conditions when checking safety of memory accesses.
Aug 1 2023, 12:52 AM · Restricted Project, Restricted Project

Jul 30 2023

ManuelJBrito added inline comments to D156055: [NewGVN][PHIOFOPS] Relax conditions when checking safety of memory accesses.
Jul 30 2023, 11:11 PM · Restricted Project, Restricted Project

Jul 28 2023

ManuelJBrito added a comment to D156055: [NewGVN][PHIOFOPS] Relax conditions when checking safety of memory accesses.

LGTM :)

Jul 28 2023, 2:54 AM · Restricted Project, Restricted Project

Jul 26 2023

ManuelJBrito closed D156338: [NewGVN] Regenerate test checks (NFC).

Forgot to add the diff link to the commit message, closing manually.

Jul 26 2023, 9:29 AM · Restricted Project, Restricted Project
ManuelJBrito committed rGfb4a836b5c85: [NewGVN] Regenerate test checks (NFC) (authored by ManuelJBrito).
[NewGVN] Regenerate test checks (NFC)
Jul 26 2023, 9:26 AM · Restricted Project, Restricted Project
ManuelJBrito updated the diff for D156338: [NewGVN] Regenerate test checks (NFC).

Remove old checks.

Jul 26 2023, 8:55 AM · Restricted Project, Restricted Project
ManuelJBrito requested review of D156338: [NewGVN] Regenerate test checks (NFC).
Jul 26 2023, 8:02 AM · Restricted Project, Restricted Project

Jul 24 2023

ManuelJBrito updated the diff for D156055: [NewGVN][PHIOFOPS] Relax conditions when checking safety of memory accesses.

Minor simplifications and comment rewriting.

Jul 24 2023, 10:08 AM · Restricted Project, Restricted Project
ManuelJBrito updated the diff for D156055: [NewGVN][PHIOFOPS] Relax conditions when checking safety of memory accesses.

We don't need to check that the memPhi is in the same block to deem it unsafe.
A clobbering memPhi that doesn't strictly dominate the original access implies that there are different versions of memory reaching the load and that using the loaded value between iterations isn't safe.

Jul 24 2023, 2:24 AM · Restricted Project, Restricted Project

Jul 23 2023

ManuelJBrito updated the summary of D156055: [NewGVN][PHIOFOPS] Relax conditions when checking safety of memory accesses.
Jul 23 2023, 7:42 AM · Restricted Project, Restricted Project
ManuelJBrito requested review of D156055: [NewGVN][PHIOFOPS] Relax conditions when checking safety of memory accesses.
Jul 23 2023, 7:39 AM · Restricted Project, Restricted Project

Jul 21 2023

ManuelJBrito added a reviewer for D154228: [GVN] Use vector ops when doing loadCoercion on a vector value: Carrot.

Adding Guozhi Wei as a reviewer.

Jul 21 2023, 1:04 AM · Restricted Project, Restricted Project

Jul 18 2023

ManuelJBrito planned changes to D152658: [InstCombine] Change SimplifyDemandedVectorElts to use PoisonElts instead of UndefElts.

Hello @aqjune thanks for the comments !! Some users of SimplifyDemandedVectorElts might need some more tweaking to prevent regressions for the cases you noted. I'll work on this as soon as I can!

Jul 18 2023, 3:09 AM · Restricted Project, Restricted Project, Restricted Project
ManuelJBrito committed rG29b5666fdbef: [NewGVN] Abort PHIOfOps if singleton PHI is found (authored by ManuelJBrito).
[NewGVN] Abort PHIOfOps if singleton PHI is found
Jul 18 2023, 2:22 AM · Restricted Project, Restricted Project
ManuelJBrito closed D155478: [NewGVN] Abort PHIOfOps if singleton PHI is found.
Jul 18 2023, 2:22 AM · Restricted Project, Restricted Project

Jul 17 2023

ManuelJBrito retitled D155478: [NewGVN] Abort PHIOfOps if singleton PHI is found from [NewGVN] Abort PHIOfOps if found singleton PHI to [NewGVN] Abort PHIOfOps if singleton PHI is found.
Jul 17 2023, 9:03 AM · Restricted Project, Restricted Project
ManuelJBrito requested review of D155478: [NewGVN] Abort PHIOfOps if singleton PHI is found.
Jul 17 2023, 9:01 AM · Restricted Project, Restricted Project

Jul 16 2023

ManuelJBrito committed rGace9b6bbf5e2: [NewGVN] Canonicalize expressions for commutative intrinsics (authored by ManuelJBrito).
[NewGVN] Canonicalize expressions for commutative intrinsics
Jul 16 2023, 9:25 AM · Restricted Project, Restricted Project
ManuelJBrito closed D155309: [NewGVN] Canonicalize expressions for commutative intrinsics.
Jul 16 2023, 9:25 AM · Restricted Project, Restricted Project

Jul 14 2023

ManuelJBrito requested review of D155309: [NewGVN] Canonicalize expressions for commutative intrinsics.
Jul 14 2023, 9:39 AM · Restricted Project, Restricted Project

Jul 11 2023

ManuelJBrito added a comment to D152658: [InstCombine] Change SimplifyDemandedVectorElts to use PoisonElts instead of UndefElts.

ping :)

Jul 11 2023, 7:53 AM · Restricted Project, Restricted Project, Restricted Project
ManuelJBrito added a comment to D154228: [GVN] Use vector ops when doing loadCoercion on a vector value.

ping :)

Jul 11 2023, 7:52 AM · Restricted Project, Restricted Project

Jul 3 2023

ManuelJBrito updated the diff for D152658: [InstCombine] Change SimplifyDemandedVectorElts to use PoisonElts instead of UndefElts.

rebase & ping

Jul 3 2023, 1:35 PM · Restricted Project, Restricted Project, Restricted Project
ManuelJBrito updated the diff for D154228: [GVN] Use vector ops when doing loadCoercion on a vector value.

Handle vector-of-ptrs.

Jul 3 2023, 5:22 AM · Restricted Project, Restricted Project

Jul 1 2023

ManuelJBrito added inline comments to D154228: [GVN] Use vector ops when doing loadCoercion on a vector value.
Jul 1 2023, 10:05 AM · Restricted Project, Restricted Project

Jun 30 2023

ManuelJBrito requested review of D154228: [GVN] Use vector ops when doing loadCoercion on a vector value.
Jun 30 2023, 8:58 AM · Restricted Project, Restricted Project
ManuelJBrito committed rG1d70ad5d0b93: [GVN] Add tests for PR63059 (NFC) (authored by ManuelJBrito).
[GVN] Add tests for PR63059 (NFC)
Jun 30 2023, 7:53 AM · Restricted Project, Restricted Project
ManuelJBrito closed D154103: [GVN] Add tests for PR63059 (NFC).
Jun 30 2023, 7:53 AM · Restricted Project, Restricted Project

Jun 29 2023

ManuelJBrito updated the diff for D154103: [GVN] Add tests for PR63059 (NFC).

Uploaded the fixed tests by mistake.
Address @nikic 's comments.

Jun 29 2023, 10:28 AM · Restricted Project, Restricted Project
ManuelJBrito requested review of D154103: [GVN] Add tests for PR63059 (NFC).
Jun 29 2023, 8:55 AM · Restricted Project, Restricted Project

Jun 26 2023

ManuelJBrito added a comment to D152658: [InstCombine] Change SimplifyDemandedVectorElts to use PoisonElts instead of UndefElts.

Ping

Jun 26 2023, 5:28 AM · Restricted Project, Restricted Project, Restricted Project

Jun 20 2023

ManuelJBrito committed rG36d50348a8b1: [clang][NFC] Drop alignment in builtin-nondeterministic-value test (authored by ManuelJBrito).
[clang][NFC] Drop alignment in builtin-nondeterministic-value test
Jun 20 2023, 3:40 AM · Restricted Project, Restricted Project
ManuelJBrito closed D152547: [clang][NFC] Drop alignment in builtin-nondeterministic-value test .
Jun 20 2023, 3:39 AM · Restricted Project, Restricted Project

Jun 19 2023

ManuelJBrito updated the diff for D152658: [InstCombine] Change SimplifyDemandedVectorElts to use PoisonElts instead of UndefElts.

Address comments.
Cannot use poison for undefined part of result in SSE4A intrinsics.
Regressions:

  • x86-sse4a-inseltpoison.ll
  • x86-sse4a.ll
Jun 19 2023, 9:39 AM · Restricted Project, Restricted Project, Restricted Project

Jun 16 2023

ManuelJBrito added inline comments to D152658: [InstCombine] Change SimplifyDemandedVectorElts to use PoisonElts instead of UndefElts.
Jun 16 2023, 8:45 AM · Restricted Project, Restricted Project, Restricted Project
ManuelJBrito added a comment to D142388: [clang] Add builtin_nondeterministic_value.

I think __builtin_any_value works pretty well, and emphasizes that this can really return any value. I'd also be OK with __builtin_convenient_value, to emphasize that the compiler will pick something that's convenient for it, but I prefer __builtin_any_value.

I can get behind __builtin_any_value as the name.

@ManuelJBrito: would you be willing to make these modifications?

Jun 16 2023, 8:11 AM · Restricted Project, Restricted Project

Jun 13 2023

ManuelJBrito committed rG22f5dc7501b5: [IR] Update to use new shufflevector semantics (authored by ManuelJBrito).
[IR] Update to use new shufflevector semantics
Jun 13 2023, 9:15 AM · Restricted Project, Restricted Project, Restricted Project
ManuelJBrito closed D149548: [IR] Update to use new shufflevector semantics.
Jun 13 2023, 9:14 AM · Restricted Project, Restricted Project, Restricted Project
ManuelJBrito added a comment to D149548: [IR] Update to use new shufflevector semantics.

If a vector is fully initialized with insertvector (i.e., one operation per index), then the value of the base vector is irrelevant. It can be poison.
Poison in vectors is element-wise. <poison, 42> doesn't propagate to <poison, poison>.

OK, that should be fine for SystemZ then. Thanks!

Jun 13 2023, 7:01 AM · Restricted Project, Restricted Project, Restricted Project

Jun 11 2023

ManuelJBrito requested review of D152658: [InstCombine] Change SimplifyDemandedVectorElts to use PoisonElts instead of UndefElts.
Jun 11 2023, 2:35 PM · Restricted Project, Restricted Project, Restricted Project
ManuelJBrito updated the diff for D152547: [clang][NFC] Drop alignment in builtin-nondeterministic-value test .

Completely drop alignment.

Jun 11 2023, 12:35 PM · Restricted Project, Restricted Project

Jun 9 2023

ManuelJBrito added a comment to D149548: [IR] Update to use new shufflevector semantics.

Why this changes IR output of following case?

// RUN: clang vecpromote.c -S -o - -O0 -target s390x-linux-gnu -fzvector -emit-llvm
#include <vecintrin.h>

vector int si;
int g;
int i;

void foo() {
  si = vec_promote(g, i);
}

// store <4 x i32> undef, ptr %__vec.i, align 16, !noalias !6  ; this undef becomes poison after this patch
// %2 = load i32, ptr %__scalar.addr.i, align 4, !noalias !6
// %3 = load i32, ptr %__index.addr.i, align 4, !noalias !6
// %4 = load <4 x i32>, ptr %__vec.i, align 16, !noalias !6
// %vecins.i = insertelement <4 x i32> %4, i32 %2, i32 %and.i
Jun 9 2023, 10:42 AM · Restricted Project, Restricted Project, Restricted Project
ManuelJBrito requested review of D152547: [clang][NFC] Drop alignment in builtin-nondeterministic-value test .
Jun 9 2023, 9:10 AM · Restricted Project, Restricted Project
ManuelJBrito added inline comments to D142388: [clang] Add builtin_nondeterministic_value.
Jun 9 2023, 8:57 AM · Restricted Project, Restricted Project

May 18 2023

ManuelJBrito added reviewers for D149548: [IR] Update to use new shufflevector semantics: qiucf, lkail, shchenz.

Adding some PowerPC folks to review the change in codegen for vec_promote.
AFAICT its OK to have the undefined values be poison.

May 18 2023, 3:42 AM · Restricted Project, Restricted Project, Restricted Project

May 16 2023

ManuelJBrito committed rGe335e8a43287: [InstCombine] Update instcombine for vectorOps to use new shufflevector… (authored by ManuelJBrito).
[InstCombine] Update instcombine for vectorOps to use new shufflevector…
May 16 2023, 11:59 PM · Restricted Project, Restricted Project
ManuelJBrito closed D150039: [InstCombine] Update instcombine for vectorOps to use new shufflevector semantics.
May 16 2023, 11:58 PM · Restricted Project, Restricted Project
ManuelJBrito updated the diff for D150039: [InstCombine] Update instcombine for vectorOps to use new shufflevector semantics.

Remove redundant check

May 16 2023, 10:29 AM · Restricted Project, Restricted Project

May 7 2023

ManuelJBrito added inline comments to D150039: [InstCombine] Update instcombine for vectorOps to use new shufflevector semantics.
May 7 2023, 1:29 PM · Restricted Project, Restricted Project

May 6 2023

ManuelJBrito added a reviewer for D149548: [IR] Update to use new shufflevector semantics: nemanjai.

Hello Nemanja is the change in codegen for vec_promote OK?

May 6 2023, 7:01 AM · Restricted Project, Restricted Project, Restricted Project
ManuelJBrito requested review of D150039: [InstCombine] Update instcombine for vectorOps to use new shufflevector semantics.
May 6 2023, 6:43 AM · Restricted Project, Restricted Project

May 3 2023

ManuelJBrito committed rG853d212e323a: [InstSimplify] Update to handle new shufflevector semantics (authored by ManuelJBrito).
[InstSimplify] Update to handle new shufflevector semantics
May 3 2023, 1:32 PM · Restricted Project, Restricted Project
ManuelJBrito closed D149544: [InstSimplify] Update to handle new shufflevector semantics.
May 3 2023, 1:32 PM · Restricted Project, Restricted Project

May 1 2023

ManuelJBrito updated the diff for D149548: [IR] Update to use new shufflevector semantics.

This change is visible in clang in particular in codegen for the vec_promote builtin.
It now produces poison instead of undef for the undefined elements.
I think this is OK according to IBM's documentation[https://www.ibm.com/docs/en/epfz/5.3?topic=book-semantics]:

May 1 2023, 7:23 AM · Restricted Project, Restricted Project, Restricted Project

Apr 30 2023

ManuelJBrito requested review of D149548: [IR] Update to use new shufflevector semantics.
Apr 30 2023, 6:52 AM · Restricted Project, Restricted Project, Restricted Project
ManuelJBrito requested review of D149544: [InstSimplify] Update to handle new shufflevector semantics.
Apr 30 2023, 5:30 AM · Restricted Project, Restricted Project

Apr 28 2023

ManuelJBrito committed rG575fdea70a86: [LangRef] Update shufflevector's semantics to return poison if the mask is undef (authored by ManuelJBrito).
[LangRef] Update shufflevector's semantics to return poison if the mask is undef
Apr 28 2023, 2:53 AM · Restricted Project, Restricted Project
ManuelJBrito closed D148637: [LangRef] Update shufflevector's semantics to return poison if the mask is undef.
Apr 28 2023, 2:52 AM · Restricted Project, Restricted Project

Apr 27 2023

ManuelJBrito committed rGd22edb979424: [IR][NFC] Change UndefMaskElem to PoisonMaskElem (authored by ManuelJBrito).
[IR][NFC] Change UndefMaskElem to PoisonMaskElem
Apr 27 2023, 10:02 AM · Restricted Project, Restricted Project
ManuelJBrito closed D149256: [IR][NFC] Change UndefMaskElem to PoisonMaskElem.
Apr 27 2023, 10:02 AM · Restricted Project, Restricted Project
ManuelJBrito committed rG8b56da5e9f3b: [IR] Change shufflevector undef mask to poison (authored by ManuelJBrito).
[IR] Change shufflevector undef mask to poison
Apr 27 2023, 6:41 AM · Restricted Project, Restricted Project, Restricted Project
ManuelJBrito closed D149210: [IR] Change shufflevector undef mask to poison.
Apr 27 2023, 6:41 AM · Restricted Project, Restricted Project, Restricted Project
ManuelJBrito added inline comments to D149256: [IR][NFC] Change UndefMaskElem to PoisonMaskElem.
Apr 27 2023, 3:45 AM · Restricted Project, Restricted Project
ManuelJBrito updated the diff for D148637: [LangRef] Update shufflevector's semantics to return poison if the mask is undef.

Address comments:

  • simplify wordings
  • remove undef to poison recommendation
Apr 27 2023, 3:44 AM · Restricted Project, Restricted Project
ManuelJBrito updated the diff for D149256: [IR][NFC] Change UndefMaskElem to PoisonMaskElem.

Address comments

Apr 27 2023, 3:00 AM · Restricted Project, Restricted Project

Apr 26 2023

ManuelJBrito requested review of D149256: [IR][NFC] Change UndefMaskElem to PoisonMaskElem.
Apr 26 2023, 6:55 AM · Restricted Project, Restricted Project
ManuelJBrito updated the diff for D149210: [IR] Change shufflevector undef mask to poison.

Split patch into print update and internal representation.

Apr 26 2023, 6:42 AM · Restricted Project, Restricted Project, Restricted Project
ManuelJBrito added inline comments to D148637: [LangRef] Update shufflevector's semantics to return poison if the mask is undef.
Apr 26 2023, 6:08 AM · Restricted Project, Restricted Project
ManuelJBrito added a comment to D149210: [IR] Change shufflevector undef mask to poison.

Could you please split the change to printing + the test updates from all the other changes? The code changes get lost in the large diff.

Apr 26 2023, 5:54 AM · Restricted Project, Restricted Project, Restricted Project

Apr 25 2023

ManuelJBrito added inline comments to D148637: [LangRef] Update shufflevector's semantics to return poison if the mask is undef.
Apr 25 2023, 3:38 PM · Restricted Project, Restricted Project
ManuelJBrito requested review of D149210: [IR] Change shufflevector undef mask to poison.
Apr 25 2023, 3:36 PM · Restricted Project, Restricted Project, Restricted Project

Apr 18 2023

ManuelJBrito requested review of D148637: [LangRef] Update shufflevector's semantics to return poison if the mask is undef.
Apr 18 2023, 8:12 AM · Restricted Project, Restricted Project

Apr 17 2023

ManuelJBrito committed rG5184dc2d7cce: [Clang][X86] Change X86 cast intrinsics to use __builtin_nondeterministic_value (authored by ManuelJBrito).
[Clang][X86] Change X86 cast intrinsics to use __builtin_nondeterministic_value
Apr 17 2023, 4:59 AM · Restricted Project, Restricted Project
ManuelJBrito closed D143287: [Clang][X86] Change X86 cast intrinsics to use __builtin_nondeterministic_value.
Apr 17 2023, 4:59 AM · Restricted Project, Restricted Project
ManuelJBrito added a comment to D143287: [Clang][X86] Change X86 cast intrinsics to use __builtin_nondeterministic_value.

Thanks for the review! I'll simplify the masks.

Apr 17 2023, 3:26 AM · Restricted Project, Restricted Project

Apr 14 2023

ManuelJBrito added a comment to D143287: [Clang][X86] Change X86 cast intrinsics to use __builtin_nondeterministic_value.

Any further comments @RKSimon ?

Apr 14 2023, 11:22 AM · Restricted Project, Restricted Project

Apr 7 2023

ManuelJBrito updated the diff for D143287: [Clang][X86] Change X86 cast intrinsics to use __builtin_nondeterministic_value.

Update to remove multiple uses of freeze poison.
I am unsure about the code style used in the 128 to 512 casts. Any comments are appreciated.

Apr 7 2023, 4:46 AM · Restricted Project, Restricted Project

Mar 17 2023

ManuelJBrito planned changes to D143287: [Clang][X86] Change X86 cast intrinsics to use __builtin_nondeterministic_value.

Implementing the 128 to 512 casts by filling the rest of the vector with the same definition of a nondeterministic_value is not correct because :

Mar 17 2023, 7:55 AM · Restricted Project, Restricted Project

Mar 10 2023

ManuelJBrito added a comment to D144903: [X86] Drop single use check for freeze(undef) in LowerAVXCONCAT_VECTORS.

Reverted. I'll reassess what can be done here.

Mar 10 2023, 2:27 PM · Restricted Project, Restricted Project, Restricted Project