Details
Details
- Reviewers
spatel bcl5980 - Commits
- rGeb438c80dfc4: [tests] precommit tests for D132658
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
It is better to have a case test the haveNoCommonBitsSet(X, C1, DL, &AC, &I, &DT) with context or assume like:
define i32 @src(i32 %a) { %combits = and i32 %a , 3 %nocombits = icmp eq i32 %combits, 0 call void @llvm.assume(i1 %nocombits) %add = or i32 %a, 3 %mul = mul i32 %add, 5 ret i32 %mul } declare void @llvm.assume(i1)