Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P parabix-devel
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cameron
  • parabix-devel
  • Issues
  • #66

Closed
Open
Created Aug 01, 2024 by cameron@cameronMaintainer

Pablo Optimization Issue?

On branch computed-UTF-if-hierarchy, commit #61e5318a, I am getting a Pablo error.

cameron@cs-osl-11:~/parabix-devel/build12$ perf stat bin/ucount '\p{Letter}' ~/Wikibooks/wiki-books-all.xml -thread-num=1 -UseComputedUTFHierarchy -IfEmbeddingCostThreshhold=17 -EnableCycleCounter -ShowOptimizedPablo=pv -ShowPablo=pb

produces a Pablo error message.

LLVM ERROR: PabloCompiler: not_1961 was used before definition

The unoptimized Pablo has these in the right order:

cameron@cs-osl-11:~/parabix-devel/build12$ grep -rn not_1961 pb
12196:                not_1961 = ~lookahead_21
12200:                and_5486 = not_1961 & or_2138

The optimized Pablo shows the error.

cameron@cs-osl-11:~/parabix-devel/build12$ grep -rn not_1961 pv
10513:                                    and_5486 = not_1961 & or_2138
10625:                not_1961 = ~lookahead_21
12814:                        Byte_0_1f_2 = InFile(not_1961)
13035:                            and_7067 = not_1961 & or_2881
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking